ImFusion SDK 4.3
DeviceImpl Class Reference

Public Member Functions

 DeviceImpl (IGTL::Connection *connection, const std::string &deviceName, const Type &deviceType)
 
 DeviceImpl (const DeviceImpl &other)
 
DeviceImploperator= (const DeviceImpl &other)
 
 DeviceImpl (DeviceImpl &&other) noexcept
 
DeviceImploperator= (DeviceImpl &&other) noexcept
 
bool sendMessage (igtl::MessageBase &msg) const
 
bool addCallback (const Callback &callback)
 
bool removeCallback ()
 
IGTL::Connectionconnection () const
 

Protected Member Functions

void onConnectionDeleted ()
 
void bindConnection ()
 
void unbindConnection ()
 

Protected Attributes

IGTL::Connectionm_iglConnection
 
std::shared_ptr< SignalConnectionm_signalConnection
 
std::shared_ptr< SignalConnectionm_signalConnectionDeleted
 
std::atomic< bool > m_connectionValid {false}
 
std::optional< Callbackm_callback {std::nullopt}
 
std::string m_deviceName
 
Type m_deviceType
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close