xorp

XrlProfilerTarget Class Reference

Inheritance diagram for XrlProfilerTarget:
XrlProfilerTargetBase

List of all members.

Public Member Functions

 XrlProfilerTarget (XrlRouter *r)
XrlCmdError common_0_1_get_target_name (string &name)
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_get_version (string &version)
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_get_status (uint32_t &status, string &)
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_shutdown ()
 Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_startup ()
 Pure-virtual function that needs to be implemented to:
XrlCmdError profile_client_0_1_log (const string &pname, const uint32_t &sec, const uint32_t &usec, const string &comment)
 Pure-virtual function that needs to be implemented to:
XrlCmdError profile_client_0_1_finished (const string &)
 Pure-virtual function that needs to be implemented to:
void list (const string &target)
void list_cb (const XrlError &error, const string *list)
void enable (const string &target, const string &pname)
void disable (const string &target, const string &pname)
void clear (const string &target, const string &pname)
void get (const string &target, const string &pname)
void get_cb (const XrlError &error)
void cb (const XrlError &error)
bool done () const

Private Attributes

XrlRouter_xrl_router
bool _done

Member Function Documentation

XrlCmdError XrlProfilerTarget::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implements XrlProfilerTargetBase.

XrlCmdError XrlProfilerTarget::common_0_1_get_target_name ( string &  name) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implements XrlProfilerTargetBase.

XrlCmdError XrlProfilerTarget::common_0_1_get_version ( string &  version) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implements XrlProfilerTargetBase.

XrlCmdError XrlProfilerTarget::common_0_1_shutdown ( ) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implements XrlProfilerTargetBase.

XrlCmdError XrlProfilerTarget::common_0_1_startup ( ) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implements XrlProfilerTargetBase.

XrlCmdError XrlProfilerTarget::profile_client_0_1_finished ( const string &  pname) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Sent to notify the client that all log entries have been sent.

Parameters:
pnameprofiling variable.

Implements XrlProfilerTargetBase.

XrlCmdError XrlProfilerTarget::profile_client_0_1_log ( const string &  pname,
const uint32_t &  sec,
const uint32_t &  usec,
const string &  comment 
) [inline, virtual]

Pure-virtual function that needs to be implemented to:

A log entry that is sent from a profile server.

Parameters:
pnameprofiling variable.
secabsolute time in seconds that this entry was created.
usecabsolute time in micro seconds that this entry was created.
commenta comment to be appended to this entry.

Implements XrlProfilerTargetBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations