Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkIGTLDeviceSource_h
14 #define mitkIGTLDeviceSource_h
34 itkFactorylessNewMacro(Self);
56 void RegisterAsMicroservice()
override;
83 void StartCommunication();
91 void StopCommunication();
97 virtual bool IsConnected();
103 virtual bool IsCommunicating();
108 void UpdateOutputInformation()
override;
122 void GenerateData()
override;
130 void CreateOutputs();
136 virtual void OnIncomingMessage();
142 virtual void OnIncomingCommand();
147 virtual void OnLostConnection();
152 virtual void RemoveObservers();
155 using Superclass::SetInput;
161 virtual void SetInput(
unsigned int idx,
const IGTLMessage* msg );
171 const IGTLMessage* GetInput(
unsigned int idx)
const;
176 const IGTLMessage* GetInput(std::string msgName)
const;
185 DataObjectPointerArraySizeType GetInputIndex(std::string msgName);
194 DataObjectPointerArraySizeType GetOutputIndex(std::string msgName);
unsigned int m_LostConnectionObserverTag
unsigned int m_IncomingMessageObserverTag
static const std::string US_PROPKEY_IGTLDEVICENAME
These Constants are used in conjunction with Microservices.
OpenIGTLink message source.
mitk::IGTLDevice::Pointer m_IGTLDevice
A wrapper for the OpenIGTLink message type.
Interface for all OpenIGTLink Devices.
DataCollection - Class to facilitate loading/accessing structured data.
unsigned int m_IncomingCommandObserverTag
#define mitkClassMacro(className, SuperClassName)
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.