20 #ifndef GENERIC_TASK_H    21 #define GENERIC_TASK_H    35     Service* createOperationCallerFactory();
    39     double& 
m0r() { 
return ret; }
    40     const double& 
m0cr() { 
return ret; }
    43     bool comstr(
const std::string& cs) { 
return !cs.empty(); }
    45     double m1r(
double& a) { a = 2*a; 
return a; }
    46     double m1cr(
const double& a) { 
return a; }
    49     double m0() { 
return -d0(); }
    50     double m1(
int i) { 
return -d1(i); }
    51     double m2(
int i, 
double d) { 
return -d2(i,d); }
    52     double m3(
int i, 
double d, 
bool c) { 
return -d3(i,d,c); }
    53     double m4(
int i, 
double d, 
bool c, std::string s) { 
return -d4(i,d,c,s); }
    55     double d0()
 const { 
return 1.0; }
    56     double d1(
int i)
 const { 
return 2.0; }
    57     double d2(
int i, 
double d)
 const { 
return 3.0; }
    58     double d3(
int i, 
double d, 
bool c)
 const { 
return 4.0; }
    59     double d4(
int i, 
double d, 
bool c, std::string s)
 const { 
return 5.0; }
    61     bool assertBool( 
bool );
    69     void testOperationCallersC();
    70     void testRemoteOperationCaller();
    71     void testAddOperationCaller();
    72     void testCROperationCaller();
    73     void testOperationCaller();
    74     void testOperationCallerFromDS();
    75     void testOperationCallerFactory();
    76     void testDSOperationCaller();
 double d3(int i, double d, bool c) const 
double m1cr(const double &a)
double d2(int i, double d) const 
bool comstr(const std::string &cs)
Interface to start/stop and query a Activity. 
double m3(int i, double d, bool c)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute. 
double m4(int i, double d, bool c, std::string s)
double d4(int i, double d, bool c, std::string s) const 
double m2(int i, double d)