|
cisst-saw
|
#include <prmInputDataConverter.h>
Public Member Functions | |
| prmInputDataConverter (mtsComponent &component) | |
| bool | AddProvidedButton (const std::string &interfaceName, const int &indexInput) |
| bool | Update (const prmInputData &inputData) |
Protected Types | |
| typedef std::list< prmInputDataConverterBase * > | ConvertersType |
Protected Member Functions | |
| const cmnClassServicesBase * | Services (void) const |
| cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
Protected Attributes | |
| mtsComponent & | mComponent |
| ConvertersType | mConverters |
| const cmnClassServicesBase * | mComponentServices |
Class to create cisstMultiTask events/commands based on prmInputData. This can be used to convert inputs from an analog to digital converter or Linux joystick to cisstMultiTask prmEventButton. We could also add events with booleans or integers, and maybe converters that can take 3/6 values from joystick and convert to a cartesian position, orientation, velocity, twist or wrench.
|
protected |
| prmInputDataConverter::prmInputDataConverter | ( | mtsComponent & | component | ) |
| bool prmInputDataConverter::AddProvidedButton | ( | const std::string & | interfaceName, |
| const int & | indexInput ) |
|
inlineprotected |
|
inlineprotected |
Methods use to emulate the cmnGenericObject interface used by CMN_LOG_CLASS macros.
| bool prmInputDataConverter::Update | ( | const prmInputData & | inputData | ) |
Tell converters to update based on the latest input data.
|
protected |
|
protected |
Pointer on existing services. This allows to use the class name and level of detail of the component using the prmInputDataConverter.
|
protected |