Public Member Functions | |
ManagerTestMock () | |
bool | procContextArgs (const char *ec_args, std::string &ec_id, coil::Properties &ec_conf) |
Extracting ExecutionContext's name/properties from the given string. | |
virtual | ~ManagerTestMock (void) |
Definition at line 158 of file ManagerTests.cpp.
Tests::ManagerTestMock::ManagerTestMock | ( | ) | [inline] |
Definition at line 162 of file ManagerTests.cpp.
virtual Tests::ManagerTestMock::~ManagerTestMock | ( | void | ) | [inline, virtual] |
Definition at line 163 of file ManagerTests.cpp.
bool Tests::ManagerTestMock::procContextArgs | ( | const char * | ec_args, |
std::string & | ec_id, | ||
coil::Properties & | ec_conf | ||
) | [inline] |
Extracting ExecutionContext's name/properties from the given string.
This operation extracts ExecutionContext's name and its properties from the figen character string. The given string formats is the following.
[ExecutionContext's name]?[key(0)]=[val(0)]&[key(1)]=[val(1)]...[key(n)]=[val(n)]
"ec_conf" is returned as Properties type object includeing component properties to be given to component.
ec_arg | character string to be processed |
ec_type | extracted ExecutionContext's name |
ec_prop | extracted ExecutionContext's properties |
Reimplemented from RTC::Manager.
Definition at line 166 of file ManagerTests.cpp.