Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_IDENTITYPOSEDEVICE_IDENTITYPOSEDEVICE_H
17 #define SURGSIM_DEVICES_IDENTITYPOSEDEVICE_IDENTITYPOSEDEVICE_H
28 SURGSIM_STATIC_REGISTRATION(IdentityPoseDevice);
47 bool addInputConsumer(std::shared_ptr<SurgSim::Input::InputConsumerInterface> inputConsumer)
override;
68 #endif // SURGSIM_DEVICES_IDENTITYPOSEDEVICE_IDENTITYPOSEDEVICE_H
bool initialize() override
Fully initialize the device.
Definition: IdentityPoseDevice.cpp:41
IdentityPoseDevice(const std::string &uniqueName)
Constructor.
Definition: IdentityPoseDevice.cpp:35
bool m_initialized
true if initialized and not finalized.
Definition: IdentityPoseDevice.h:61
bool addInputConsumer(std::shared_ptr< SurgSim::Input::InputConsumerInterface > inputConsumer) override
Adds an input consumer that will be notified when the application input state is updated.
Definition: IdentityPoseDevice.cpp:69
Definition: CompoundShapeToGraphics.cpp:29
A collection of NamedData objects.
Definition: DataGroup.h:68
static SurgSim::DataStructures::DataGroup buildInputData()
Builds the data layout for the application input (i.e. device output).
Definition: IdentityPoseDevice.cpp:62
bool isInitialized() const override
Definition: IdentityPoseDevice.cpp:49
bool finalize() override
Finalize (de-initialize) the device.
Definition: IdentityPoseDevice.cpp:54
A class implementing the identity pose device, which is a pretend device that doesn't move.
Definition: IdentityPoseDevice.h:38
SURGSIM_CLASSNAME(SurgSim::Devices::IdentityPoseDevice)