vhdIHactionProperty Class Reference

#include <vhdIHactionProperty.h>

List of all members.

Public Member Functions

virtual const std::string & getAgentNameByIndex (unsigned id)=0
virtual const unsigned getNumberOfAgentNames ()=0
virtual const std::string & getActionName (void)=0
virtual HAGENTLIB::Haction * getAction (void)=0


Detailed Description

Interface used by vhdHAGENTService to register hsa_action.


Member Function Documentation

virtual const std::string& vhdIHactionProperty::getAgentNameByIndex ( unsigned  id  )  [pure virtual]

Provides the name of the agent at the index id.

Parameters:
id integer | 0 <= id < getNumberOfAgentNames()
Returns:
agent name, empty string "" is only returned upon failure.

virtual const unsigned vhdIHactionProperty::getNumberOfAgentNames (  )  [pure virtual]

Provides the max index to be used in getNumberOfAgentNames. If there is no agents, getNumberOfAgentNames() is 0.

Returns:
number of agent names in the property.

virtual const std::string& vhdIHactionProperty::getActionName ( void   )  [pure virtual]

Provides the action name.

Returns:
action name, empty string "" is only returned upon failure.

virtual HAGENTLIB::Haction* vhdIHactionProperty::getAction ( void   )  [pure virtual]

Gets direct access to Haction encapsulated by this property.

Returns:
pointer to Haction, NULL is only returned upon failure.


Generated on Thu Jan 18 10:06:24 2007 for vhdPLUS by  doxygen 1.5.1-p1