mrfioc2  2.3.0
Functions
objectTest.cpp File Reference
#include <vector>
#include <algorithm>
#include "epicsUnitTest.h"
#include "epicsString.h"
#include "testMain.h"
#include "mrf/object.h"
Include dependency graph for objectTest.cpp:

Go to the source code of this file.

Functions

 OBJECT_PROP2 ("I", &mine::getI, &mine::setI)
 
 OBJECT_PROP2 ("val", &mine::getI, &mine::setI)
 
 OBJECT_PROP2 ("val", &mine::val, &mine::setVal)
 
 OBJECT_PROP2 ("darr",&mine::getdarr, &mine::setdarr)
 
 OBJECT_PROP1 ("incr", &mine::incr)
 
 OBJECT_PROP1 ("X", &other::getX)
 
 OBJECT_FACTORY (other::buildOne)
 
 MAIN (objectTest)
 

Function Documentation

◆ MAIN()

MAIN ( objectTest  )

Definition at line 223 of file objectTest.cpp.

224 {
225  testPlan(39);
226  testMine();
227  testOther();
228  testOther2();
229  testFactory();
230  return testDone();
231 }

◆ OBJECT_FACTORY()

OBJECT_FACTORY ( other::buildOne  )

◆ OBJECT_PROP1() [1/2]

OBJECT_PROP1 ( "incr"  ,
&mine::incr   
)

◆ OBJECT_PROP1() [2/2]

OBJECT_PROP1 ( "X"  ,
&other::getX   
)

◆ OBJECT_PROP2() [1/4]

OBJECT_PROP2 ( "I"  ,
&mine::getI  ,
&mine::setI   
)

◆ OBJECT_PROP2() [2/4]

OBJECT_PROP2 ( "val"  ,
&mine::getI  ,
&mine::setI   
)

◆ OBJECT_PROP2() [3/4]

OBJECT_PROP2 ( "val"  ,
&mine::val  ,
&mine::setVal   
)

◆ OBJECT_PROP2() [4/4]

OBJECT_PROP2 ( "darr"  ,
&mine::getdarr  ,
&mine::setdarr   
)