XrlCmdMap* _cmds | _cmds |
[protected]
XrlTestXrlsTargetBase (XrlCmdMap* cmds = 0)
| XrlTestXrlsTargetBase |
Constructor.
Parameters:
cmds | an XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target. |
~XrlTestXrlsTargetBase ()
| ~XrlTestXrlsTargetBase |
[virtual]
Destructor.
Dissociates instance commands from command map.
bool set_command_map (XrlCmdMap* cmds)
| set_command_map |
Set command map.
Parameters:
cmds | pointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target. |
Returns: true on success, false if cmds is null or a command map has already been supplied.
inline const string& name ()
| name |
[const]
Get Xrl instance name associated with command map.
inline const char* version ()
| version |
[const]
Get version string of instance.
XrlCmdError common_0_1_get_target_name (
string& name)
| common_0_1_get_target_name |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_get_version (
string& version)
| common_0_1_get_version |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Get version string from Xrl Target
XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
| common_0_1_get_status |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_shutdown ()
| common_0_1_shutdown |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
XrlCmdError test_xrls_0_1_start_transmission ()
| test_xrls_0_1_start_transmission |
[protected pure virtual]
XrlCmdError test_xrls_0_1_end_transmission ()
| test_xrls_0_1_end_transmission |
[protected pure virtual]
XrlCmdError test_xrls_0_1_add_xrl0 ()
| test_xrls_0_1_add_xrl0 |
[protected pure virtual]
XrlCmdError test_xrls_0_1_add_xrl1 (
const string& data1)
| test_xrls_0_1_add_xrl1 |
[protected pure virtual]
XrlCmdError test_xrls_0_1_add_xrl2 (
const string& data1,
const string& data2)
| test_xrls_0_1_add_xrl2 |
[protected pure virtual]
XrlCmdError test_xrls_0_1_add_xrl9 (
const bool& data1,
const int32_t& data2,
const IPv4& data3,
const IPv4Net& data4,
const IPv6& data5,
const IPv6Net& data6,
const Mac& data7,
const string& data8,
const vector<uint8_t>& data9)
| test_xrls_0_1_add_xrl9 |
[protected pure virtual]
XrlCmdError test_xrls_0_1_add_xrlx (
const XrlAtomList& data)
| test_xrls_0_1_add_xrlx |
[protected pure virtual]