class XrlTestTargetBase


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

XrlCmdMap* _cmds

_cmds

[protected]

 XrlTestTargetBase (XrlCmdMap* cmds = 0)

XrlTestTargetBase

Constructor.

Parameters:

cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
 ~XrlTestTargetBase ()

~XrlTestTargetBase

[virtual]

Destructor.

Dissociates instance commands from command map.

bool  set_command_map (XrlCmdMap* cmds)

set_command_map

Set command map.

Parameters:

cmdspointer 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:

Get name of Xrl Target

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:

Get status of Xrl Target

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_1_0_print_hello_world ()

test_1_0_print_hello_world

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Print "hello world".

XrlCmdError  test_1_0_print_hello_world_and_message ( const string& msg)

test_1_0_print_hello_world_and_message

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Print "hello world" and a user supplied greeting.

Parameters:

msggreeting to be printed.
XrlCmdError  test_1_0_get_greeting_count ( int32_t& num_msgs)

test_1_0_get_greeting_count

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Count number of greetings available.

XrlCmdError  test_1_0_get_greeting ( const int32_t& greeting_num, string& greeting)

test_1_0_get_greeting

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Get greeting.

Parameters:

greeting_numindex of greeting.
greetingtext of greeting.
XrlCmdError  test_1_0_shoot_foot ()

test_1_0_shoot_foot

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Something that always fails.


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:08 2007, using kdoc $.