XrlCmdMap* _cmds | _cmds |
[protected]
XrlXorpshTargetBase (XrlCmdMap* cmds = 0)
| XrlXorpshTargetBase |
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. |
~XrlXorpshTargetBase ()
| ~XrlXorpshTargetBase |
[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 rtrmgr_client_0_2_new_config_user (
const uint32_t& userid)
| rtrmgr_client_0_2_new_config_user |
[protected pure virtual]
XrlCmdError rtrmgr_client_0_2_config_saved_done (
const bool& success,
const string& errmsg)
| rtrmgr_client_0_2_config_saved_done |
[protected pure virtual]
XrlCmdError rtrmgr_client_0_2_config_change_done (
const bool& success,
const string& errmsg)
| rtrmgr_client_0_2_config_change_done |
[protected pure virtual]
XrlCmdError rtrmgr_client_0_2_config_changed (
const uint32_t& userid,
const string& deltas,
const string& deletions)
| rtrmgr_client_0_2_config_changed |
[protected pure virtual]
XrlCmdError rtrmgr_client_0_2_module_status (
const string& modname,
const uint32_t& status)
| rtrmgr_client_0_2_module_status |
[protected pure virtual]