13 #ifndef IGTLDEVICESOURCE_H_HEADER_INCLUDED_ 14 #define IGTLDEVICESOURCE_H_HEADER_INCLUDED_ 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);
static const std::string US_PROPKEY_IGTLDEVICENAME
These Constants are used in conjunction with Microservices.
unsigned int m_IncomingCommandObserverTag
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKOPENIGTLINK_EXPORT
mitk::IGTLDevice::Pointer m_IGTLDevice
A wrapper for the OpenIGTLink message type.
#define mitkClassMacro(className, SuperClassName)
unsigned int m_LostConnectionObserverTag
OpenIGTLink message source.
Interface for all OpenIGTLink Devices.
unsigned int m_IncomingMessageObserverTag