|
xorp
|
Classes | |
| struct | handler_table |
Public Member Functions | |
| XrlTestTargetBase (XrlCmdMap *cmds=0) | |
| Constructor. | |
| virtual | ~XrlTestTargetBase () |
| Destructor. | |
| bool | set_command_map (XrlCmdMap *cmds) |
| Set command map. | |
| const string & | get_name () const |
| Get Xrl instance name associated with command map. | |
| const char * | version () const |
| Get version string of instance. | |
| XrlTestTargetBase (XrlCmdMap *cmds=0) | |
| Constructor. | |
| virtual | ~XrlTestTargetBase () |
| Destructor. | |
| bool | set_command_map (XrlCmdMap *cmds) |
| Set command map. | |
| const string & | get_name () const |
| Get Xrl instance name associated with command map. | |
| const char * | version () const |
| Get version string of instance. | |
Protected Member Functions | |
| virtual XrlCmdError | common_0_1_get_target_name (string &name)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_version (string &version)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_status (uint32_t &status, string &reason)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_shutdown ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_startup ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_print_hello_world ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_print_hello_world_and_message (const string &msg)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_get_greeting_count (int32_t &num_msgs)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_get_greeting (const int32_t &greeting_num, string &greeting)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_shoot_foot ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_float_my_point (const fp64_t &input, fp64_t &output)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_target_name (string &name)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_version (string &version)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_status (uint32_t &status, string &reason)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_shutdown ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_startup ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_print_hello_world ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_print_hello_world_and_message (const string &msg)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_get_greeting_count (int32_t &num_msgs)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_get_greeting (const int32_t &greeting_num, string &greeting)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_shoot_foot ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | test_1_0_float_my_point (const fp64_t &input, fp64_t &output)=0 |
| Pure-virtual function that needs to be implemented to: | |
Protected Attributes | |
| XrlCmdMap * | _cmds |
Private Member Functions | |
| XrlCmdRT | handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_print_hello_world (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_print_hello_world_and_message (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_get_greeting_count (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_get_greeting (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_shoot_foot (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_float_my_point (const XrlArgs &in, XrlCmdOT out) |
| void | add_handlers () |
| void | remove_handlers () |
| XrlCmdRT | handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_print_hello_world (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_print_hello_world_and_message (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_get_greeting_count (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_get_greeting (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_shoot_foot (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_test_1_0_float_my_point (const XrlArgs &in, XrlCmdOT out) |
| void | add_handlers () |
| void | remove_handlers () |
Static Private Attributes | |
| static struct handler_table | handlers [] |
| static const size_t | num_handlers = (sizeof(XrlTestTargetBase::handlers) / sizeof(XrlTestTargetBase::handlers[0])) |
| XrlTestTargetBase::XrlTestTargetBase | ( | XrlCmdMap * | cmds = 0 | ) |
| XrlTestTargetBase::~XrlTestTargetBase | ( | ) | [virtual] |
Destructor.
Dissociates instance commands from command map.
| XrlTestTargetBase::XrlTestTargetBase | ( | XrlCmdMap * | cmds = 0 | ) |
| virtual XrlTestTargetBase::~XrlTestTargetBase | ( | ) | [virtual] |
Destructor.
Dissociates instance commands from command map.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_get_status | ( | uint32_t & | status, |
| string & | reason | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get status of Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_get_status | ( | uint32_t & | status, |
| string & | reason | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get status of Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_get_target_name | ( | string & | name | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get name of Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_get_target_name | ( | string & | name | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get name of Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_get_version | ( | string & | version | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get version string from Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_get_version | ( | string & | version | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get version string from Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_shutdown | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_shutdown | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::common_0_1_startup | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request a startup of Xrl Target
| virtual XrlCmdError XrlTestTargetBase::common_0_1_startup | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request a startup of Xrl Target
| bool XrlTestTargetBase::set_command_map | ( | XrlCmdMap * | cmds | ) |
| bool XrlTestTargetBase::set_command_map | ( | XrlCmdMap * | cmds | ) |
| virtual XrlCmdError XrlTestTargetBase::test_1_0_float_my_point | ( | const fp64_t & | input, |
| fp64_t & | output | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Handle IEEE754 binary64 format.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_float_my_point | ( | const fp64_t & | input, |
| fp64_t & | output | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Handle IEEE754 binary64 format.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_get_greeting | ( | const int32_t & | greeting_num, |
| string & | greeting | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get greeting.
| greeting_num | index of greeting. |
| greeting | text of greeting. |
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_get_greeting | ( | const int32_t & | greeting_num, |
| string & | greeting | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get greeting.
| greeting_num | index of greeting. |
| greeting | text of greeting. |
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_get_greeting_count | ( | int32_t & | num_msgs | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Count number of greetings available.
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_get_greeting_count | ( | int32_t & | num_msgs | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Count number of greetings available.
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_print_hello_world | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Print "hello world".
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_print_hello_world | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Print "hello world".
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_print_hello_world_and_message | ( | const string & | msg | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Print "hello world" and a user supplied greeting.
| msg | greeting to be printed. |
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_print_hello_world_and_message | ( | const string & | msg | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Print "hello world" and a user supplied greeting.
| msg | greeting to be printed. |
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_shoot_foot | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Something that always fails.
Implemented in XrlTestTarget.
| virtual XrlCmdError XrlTestTargetBase::test_1_0_shoot_foot | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Something that always fails.
Implemented in XrlTestTarget.