17 #ifndef IGTLDEVICESOURCE_H_HEADER_INCLUDED_
18 #define IGTLDEVICESOURCE_H_HEADER_INCLUDED_
38 itkFactorylessNewMacro(Self)
44 static const
std::
string US_PROPKEY_IGTLDEVICENAME;
60 virtual
void RegisterAsMicroservice() override;
87 void StartCommunication();
95 void StopCommunication();
101 virtual
bool IsConnected();
107 virtual
bool IsCommunicating();
112 virtual
void UpdateOutputInformation() override;
116 virtual ~IGTLDeviceSource();
126 virtual
void GenerateData() override;
134 void CreateOutputs();
140 virtual
void OnIncomingMessage();
146 virtual
void OnIncomingCommand();
151 virtual
void OnLostConnection();
156 virtual
void RemoveObservers();
165 virtual
void SetInput(
unsigned int idx, const
IGTLMessage* msg );
175 const
IGTLMessage* GetInput(
unsigned int idx) const;
189 DataObjectPointerArraySizeType GetInputIndex(
std::
string msgName);
198 DataObjectPointerArraySizeType GetOutputIndex(
std::
string msgName);
204 unsigned int m_LostConnectionObserverTag;
205 unsigned int m_IncomingCommandObserverTag;
206 unsigned int m_IncomingMessageObserverTag;
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
DataCollection - Class to facilitate loading/accessing structured data.
itkEventMacroDeclaration(FocusChangedEvent, itk::AnyEvent) class MITKCORE_EXPORT TestingRenderingManager typedef RenderingManager Superclass
A wrapper for the OpenIGTLink message type.
#define mitkClassMacro(className, SuperClassName)
OpenIGTLink message source.
Interface for all OpenIGTLink Devices.