This class encapsulates information required for function call, such as function name and parameters.
Parameters can be specified either as named parameters, or position parameters. Named parameters are stored in map as [parameter name, parameter value] pairs, while position parameters are stored in vector as a list of values. Only one of these two groups of parameters may be specified in one specification.
Default copy ctor may be used.
|
| CTestFunction () |
| Initializes new instance.
|
|
| CTestFunction (const CTestBaseSPtr &parent) |
| Initializes new instance. More...
|
|
std::string | getName () |
| Returns name of the function to be executed.
|
|
void | getPositionParams (iconnect::StrVector &positionParams) |
| The given vector is filled with values of positional parameters. More...
|
|
std::string | getRetValueName () |
| Returns the name of the variable, which will be used to store the function return value.
|
|
bool | hasPositionParams () |
| Returns true, if function has parameters specified.
|
|
virtual bool | isEmpty () const |
| This method returns true, if the object contains no data.
|
|
virtual void | serialize (const isys::IEmitterSPtr &emitter) |
| Sends contents of this class to emitter.
|
|
void | setName (const std::string &functionName) |
| Sets function name.
|
|
void | setPositionParameters (const iconnect::StrVector ¶meters) |
| Sets positional parameters. More...
|
|
void | setRetValueName (const std::string &retValName) |
| Sets return value name. More...
|
|
virtual std::string | toString () |
| Returns object data as YAML string.
|
|