![]() |
An input consumer monitors device and signal state update. More...
Public Member Functions | |
InputConsumer () | |
Constructor. More... | |
virtual | ~InputConsumer () |
Destructor. More... | |
virtual void | handleInput (const std::string &device, const SurgSim::DataStructures::DataGroup &inputData) override |
Handle the input coming from device. More... | |
virtual void | initializeInput (const std::string &device, const SurgSim::DataStructures::DataGroup &initialData) override |
Initialize the input data information stored in this input consumer. More... | |
void | getData (SurgSim::DataStructures::DataGroup *dataGroup) |
Retrieve input data information stored in this input consumer. More... | |
![]() | |
virtual | ~InputConsumerInterface () |
Virtual destructor (empty). More... | |
Private Attributes | |
SurgSim::Framework::LockedContainer< SurgSim::DataStructures::DataGroup > | m_lastInput |
Used to store input data information passed in from device. More... | |
An input consumer monitors device and signal state update.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inline |
Retrieve input data information stored in this input consumer.
[out] | dataGroup | Used to accept the retrieved input data information |
|
inlineoverridevirtual |
Handle the input coming from device.
device | The name of the device that is producing the input. |
inputData | The input data coming from the device. |
Implements SurgSim::Input::InputConsumerInterface.
|
inlineoverridevirtual |
Initialize the input data information stored in this input consumer.
device | The name of the device that is producing the input. |
initialData | Initial input data of the device. |
Implements SurgSim::Input::InputConsumerInterface.
|
private |
Used to store input data information passed in from device.