TwiceAsNice  2019-02-18
Public Member Functions | Protected Attributes | List of all members
Basda::HandlerImpl Struct Reference

This struct is the default implementation of the event handler and the function error handler. More...

#include <Core.h>

Inheritance diagram for Basda::HandlerImpl:
Inheritance graph
Collaboration diagram for Basda::HandlerImpl:
Collaboration graph

Public Member Functions

 HandlerImpl (Nice::JointPtr _config)
 Constructor. More...
 
virtual void eventHandler (const std::string &_event)
 The default event handler logs the incoming events. More...
 
virtual void functionErrorHandler (const std::string _errorNo)
 The default function error handler logs the incoming function errors and throw a generic function error exception. More...
 
 HandlerImpl (Nice::JointPtr _config)
 Constructor. More...
 
virtual void eventHandler (const std::string &_event)
 The default event handler logs the incoming events. More...
 
virtual void functionErrorHandler (const std::string _errorNo)
 The default function error handler logs the incoming function errors and throw a generic function error exception. More...
 
- Public Member Functions inherited from Basda::Handler
virtual ~Handler ()
 Construstor. More...
 
virtual ~Handler ()
 Construstor. More...
 

Protected Attributes

Nice::JointPtr m_config
 member of the configuration tree More...
 

Detailed Description

This struct is the default implementation of the event handler and the function error handler.

Author
Frank Kittmann
Version
09.06.16
Date
2009.06.16

Constructor & Destructor Documentation

◆ HandlerImpl() [1/2]

Basda::HandlerImpl::HandlerImpl ( Nice::JointPtr  _config)
inline

Constructor.

◆ HandlerImpl() [2/2]

Basda::HandlerImpl::HandlerImpl ( Nice::JointPtr  _config)
inline

Constructor.

Member Function Documentation

◆ eventHandler() [1/2]

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

◆ eventHandler() [2/2]

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

◆ functionErrorHandler() [1/2]

virtual void Basda::HandlerImpl::functionErrorHandler ( const std::string  _errorNo)
inlinevirtual

◆ functionErrorHandler() [2/2]

virtual void Basda::HandlerImpl::functionErrorHandler ( const std::string  _errorNo)
inlinevirtual

Member Data Documentation

◆ m_config

Nice::JointPtr Basda::HandlerImpl::m_config
protected

member of the configuration tree


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