9 #include "imstkComponent.h" 10 #include "imstkEventObject.h" 11 #include "imstkMacros.h" 38 std::shared_ptr<DeviceClient>
getDevice()
const {
return m_deviceClient; }
39 virtual void setDevice(std::shared_ptr<DeviceClient> device) { m_deviceClient = device; }
48 std::shared_ptr<DeviceClient> m_deviceClient;
While the DeviceClient provides quantities from the device, the control defines what to do with those...
virtual void printControls()
Prints the controls.
A Behaviour represents a single component system A template is used here for UpdateInfo to keep the C...
EventObject is the base class for all objects in iMSTK that can receive and emit events. It supports direct and queued observer functions. Direct observers receive events immediately on the same thread This can either be posted on an object or be a function pointer Queued observers receive events within their queue which they can process whenever they like. These can be connected with the connect/queuedConnect/disconnect functions Lambda recievers cannot be disconnected unless all receivers to a signal are removed.
std::shared_ptr< DeviceClient > getDevice() const
Set/Get the device client used in the control.