◆ ProtocolTestEvent() [1/2]
Constructor.
- Parameters
-
_config | the root of the configuration tree |
◆ ProtocolTestEvent() [2/2]
Constructor.
- Parameters
-
_config | the root of the configuration tree |
◆ 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
-
- 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
-
- See also
- parseTraceData
Reimplemented from Basda::HandlerImpl.
◆ functionErrorHandler() [1/2]
void Basda::ProtocolTestEvent::functionErrorHandler |
( |
const std::string |
_errorNo | ) |
|
|
inlinevirtual |
implementation of the function error handler
It logs the function error and throws the corresponding error.
- Parameters
-
- Exceptions
-
Reimplemented from Basda::HandlerImpl.
◆ functionErrorHandler() [2/2]
void Basda::ProtocolTestEvent::functionErrorHandler |
( |
const std::string |
_errorNo | ) |
|
|
inlinevirtual |
implementation of the function error handler
It logs the function error and throws the corresponding error.
- Parameters
-
- Exceptions
-
Reimplemented from Basda::HandlerImpl.
◆ m_protocol
The documentation for this struct was generated from the following file: