17 #ifndef IGTLMESSAGEPROVIDER_H_HEADER_INCLUDED_
18 #define IGTLMESSAGEPROVIDER_H_HEADER_INCLUDED_
24 #include "itkCommand.h"
55 itkFactorylessNewMacro(Self)
81 void StopStreamingOfAllSources();
91 itkGetMacro(StreamingTime,
unsigned int);
93 virtual
void Update() override;
97 virtual ~IGTLMessageProvider();
107 virtual
void GenerateData() override;
115 void CreateOutputs();
121 virtual
void OnIncomingMessage() override;
127 virtual
void OnIncomingCommand() override;
132 virtual
void OnLostConnection() override;
161 void InvokeStartStreamingEvent();
166 void InvokeStopStreamingEvent();
172 ProviderCommand::
Pointer m_StreamingCommand;
174 ProviderCommand::
Pointer m_StopStreamingCommand;
194 unsigned int m_StreamingTime;
197 itk::SmartPointer<
itk::FastMutexLock> m_StreamingTimeMutex;
205 unsigned long m_LostConnectionObserverTag;
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
itk::SimpleMemberCommand< mitk::IGTLMessageProvider > ProviderCommand
A wrapper for the OpenIGTLink message type.
#define mitkClassMacro(className, SuperClassName)
OpenIGTLink message source.
Provides information/objects from a MITK-Pipeline to other OpenIGTLink devices.
itkEventMacro(ContourModelEvent, itk::AnyEvent)