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 Definition: CompoundShapeToGraphics.cpp:29
SURGSIM_CLASSNAME(SurgSim::Devices::IdentityPoseDevice)
A class implementing the identity pose device, which is a pretend device that doesn't move...
Definition: IdentityPoseDevice.h:38
A collection of NamedData objects.
Definition: DataGroup.h:68
bool initialize() override
Fully initialize the device.
Definition: IdentityPoseDevice.cpp:41
bool m_initialized
true if initialized and not finalized.
Definition: IdentityPoseDevice.h:61
IdentityPoseDevice(const std::string &uniqueName)
Constructor.
Definition: IdentityPoseDevice.cpp:35
static SurgSim::DataStructures::DataGroup buildInputData()
Builds the data layout for the application input (i.e. device output).
Definition: IdentityPoseDevice.cpp:62
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
bool isInitialized() const override
Definition: IdentityPoseDevice.cpp:49
bool finalize() override
Finalize (de-initialize) the device.
Definition: IdentityPoseDevice.cpp:54