TwiceAsNice  2019-02-18
Public Member Functions | List of all members
Basda::MoConModule::MoConModuleEvent Struct Reference

This is the implementation of the handler for the incoming events and function errors. More...

Inheritance diagram for Basda::MoConModule::MoConModuleEvent:
Inheritance graph
Collaboration diagram for Basda::MoConModule::MoConModuleEvent:
Collaboration graph

Public Member Functions

 MoConModuleEvent (Nice::JointPtr _config)
 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...
 
void setMotionComplete ()
 
 MoConModuleEvent (Nice::JointPtr _config)
 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...
 
void setMotionComplete ()
 
- 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...
 

Additional Inherited Members

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

Detailed Description

This is the implementation of the handler for the incoming events and function errors.

Note
Trace methods are not up to date and commented.
Author
Frank Kittmann
Version
09.06.24
Date
2009.06.24

Constructor & Destructor Documentation

◆ MoConModuleEvent() [1/2]

Basda::MoConModule::MoConModuleEvent::MoConModuleEvent ( Nice::JointPtr  _config)
inline

Constructor.

Parameters
_configthe root of the configuration tree

◆ MoConModuleEvent() [2/2]

Basda::MoConModule::MoConModuleEvent::MoConModuleEvent ( Nice::JointPtr  _config)
inline

Constructor.

Parameters
_configthe root of the configuration tree

Member Function Documentation

◆ eventHandler() [1/2]

void Basda::MoConModule::MoConModuleEvent::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
Exceptions
Basda::MoCon::MotionErrorException
See also
parseTraceData

Reimplemented from Basda::HandlerImpl.

◆ eventHandler() [2/2]

void Basda::MoConModule::MoConModuleEvent::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
Exceptions
Basda::MoCon::MotionErrorException
See also
parseTraceData

Reimplemented from Basda::HandlerImpl.

◆ functionErrorHandler() [1/2]

void Basda::MoConModule::MoConModuleEvent::functionErrorHandler ( const std::string  _errorNo)
inlinevirtual

◆ functionErrorHandler() [2/2]

void Basda::MoConModule::MoConModuleEvent::functionErrorHandler ( const std::string  _errorNo)
inlinevirtual

◆ setMotionComplete() [1/2]

void Basda::MoConModule::MoConModuleEvent::setMotionComplete ( )
inline

◆ setMotionComplete() [2/2]

void Basda::MoConModule::MoConModuleEvent::setMotionComplete ( )
inline

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