Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_PHANTOM_PHANTOMDEVICE_H
17 #define SURGSIM_DEVICES_PHANTOM_PHANTOMDEVICE_H
28 class PhantomScaffold;
30 SURGSIM_STATIC_REGISTRATION(PhantomDevice);
98 #endif // SURGSIM_DEVICES_PHANTOM_PHANTOMDEVICE_H
std::string getInitializationName() const
Gets the name used by the Phantom device configuration to refer to this device.
Definition: PhantomDevice.cpp:49
SURGSIM_CLASSNAME(SurgSim::Devices::PhantomDevice)
A class implementing the communication with a SensAble/Geomagic PHANTOM device.
Definition: PhantomDevice.h:58
Definition: CompoundShapeToGraphics.cpp:29
A class that manages Sensable PHANTOM devices.
Definition: PhantomScaffold.h:38
void setInitializationName(const std::string &initializationName)
Sets the name used to register this device with the hardware library.
Definition: PhantomDevice.cpp:44
bool finalize() override
Finalize (de-initialize) the device.
Definition: PhantomDevice.cpp:71
std::shared_ptr< PhantomScaffold > m_scaffold
Definition: PhantomDevice.h:91
bool initialize() override
Fully initialize the device.
Definition: PhantomDevice.cpp:55
std::string m_initializationName
Definition: PhantomDevice.h:92
PhantomDevice(const std::string &uniqueName)
Constructor.
Definition: PhantomDevice.cpp:28
virtual ~PhantomDevice()
Destructor.
Definition: PhantomDevice.cpp:36
bool isInitialized() const override
Definition: PhantomDevice.cpp:80