ImFusion C++ SDK 4.4.0
ImFusion::IGTL::DeviceImpl Class Reference

Public Member Functions

 DeviceImpl (IGTL::Connection *connection, const std::string &deviceName, const Type &deviceType)
 DeviceImpl (const DeviceImpl &other)
DeviceImpl & operator= (const DeviceImpl &other)
 DeviceImpl (DeviceImpl &&other) noexcept
DeviceImpl & operator= (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_igtlConnection
std::shared_ptr< SignalConnectionm_signalConnection
std::shared_ptr< SignalConnectionm_signalConnectionDeleted
std::atomic< bool > m_connectionValid {false}
std::optional< Callback > m_callback {std::nullopt}
std::string m_deviceName
Type m_deviceType

The documentation for this class was generated from the following file:
  • ImFusion/Stream/IGTL/DeviceImpl.h
Search Tab / S to search, Esc to close