TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
Basda::ProtocolTestEvent Struct Reference
Inheritance diagram for Basda::ProtocolTestEvent:
Inheritance graph
Collaboration diagram for Basda::ProtocolTestEvent:
Collaboration graph

Public Member Functions

 ProtocolTestEvent (Nice::JointPtr _config, ProtocolTest *protocol)
 Constructor. More...
 
void eventHandler (const std::string &_event)
 implementation of the event handler More...
 
void functionErrorHandler (const std::string _errorNo)
 implementation of the function error handler More...
 
 ProtocolTestEvent (Nice::JointPtr _config, ProtocolTest *protocol)
 Constructor. More...
 
void eventHandler (const std::string &_event)
 implementation of the event handler More...
 
void functionErrorHandler (const std::string _errorNo)
 implementation of the function error handler More...
 
- Public Member Functions inherited from Basda::HandlerImpl
 HandlerImpl (Nice::JointPtr _config)
 Constructor. More...
 
 HandlerImpl (Nice::JointPtr _config)
 Constructor. More...
 
- Public Member Functions inherited from Basda::Handler
virtual ~Handler ()
 Construstor. More...
 
virtual ~Handler ()
 Construstor. More...
 

Public Attributes

ProtocolTestm_protocol
 

Additional Inherited Members

- Protected Attributes inherited from Basda::HandlerImpl
Nice::JointPtr m_config
 member of the configuration tree More...
 

Constructor & Destructor Documentation

◆ ProtocolTestEvent() [1/2]

Basda::ProtocolTestEvent::ProtocolTestEvent ( Nice::JointPtr  _config,
ProtocolTest protocol 
)
inline

Constructor.

Parameters
_configthe root of the configuration tree

◆ ProtocolTestEvent() [2/2]

Basda::ProtocolTestEvent::ProtocolTestEvent ( Nice::JointPtr  _config,
ProtocolTest protocol 
)
inline

Constructor.

Parameters
_configthe root of the configuration tree

Member Function Documentation

◆ eventHandler() [1/2]

void Basda::ProtocolTestEvent::eventHandler ( const std::string &  _event)
inlinevirtual

implementation of the event handler

The incoming event will be sorted to the following properties:

  • VAR.MOTION_COMPLETE
  • VAR.ON_POSITIVE_LIMIT
  • VAR.ON_NEGATIVE_LIMIT
  • VAR.MOTION.ERROR

The event trace messages will be parsed using the parseTraceData() method

Parameters
_eventthe event message
See also
parseTraceData

Reimplemented from Basda::HandlerImpl.

◆ eventHandler() [2/2]

void Basda::ProtocolTestEvent::eventHandler ( const std::string &  _event)
inlinevirtual

implementation of the event handler

The incoming event will be sorted to the following properties:

  • VAR.MOTION_COMPLETE
  • VAR.ON_POSITIVE_LIMIT
  • VAR.ON_NEGATIVE_LIMIT
  • VAR.MOTION.ERROR

The event trace messages will be parsed using the parseTraceData() method

Parameters
_eventthe event message
See also
parseTraceData

Reimplemented from Basda::HandlerImpl.

◆ functionErrorHandler() [1/2]

void Basda::ProtocolTestEvent::functionErrorHandler ( const std::string  _errorNo)
inlinevirtual

◆ functionErrorHandler() [2/2]

void Basda::ProtocolTestEvent::functionErrorHandler ( const std::string  _errorNo)
inlinevirtual

Member Data Documentation

◆ m_protocol

ProtocolTest * Basda::ProtocolTestEvent::m_protocol

The documentation for this struct was generated from the following file: