13 #ifndef IGTLMESSAGEPROVIDER_H_HEADER_INCLUDED_ 14 #define IGTLMESSAGEPROVIDER_H_HEADER_INCLUDED_ 20 #include "itkCommand.h" 51 itkFactorylessNewMacro(Self);
54 typedef itk::SimpleMemberCommand<mitk::IGTLMessageProvider>
ProviderCommand;
61 void Send(mitk::IGTLMessage::Pointer msg);
77 void StopStreamingOfAllSources();
87 itkGetMacro(StreamingTime,
unsigned int);
89 void Update()
override;
103 void GenerateData()
override;
111 void CreateOutputs();
117 void OnIncomingMessage()
override;
123 void OnIncomingCommand()
override;
128 void OnLostConnection()
override;
152 mitk::IGTLMessageSource::Pointer GetFittingSource(
const char* requestedType);
157 void InvokeStartStreamingEvent();
162 void InvokeStopStreamingEvent();
168 ProviderCommand::Pointer m_StreamingCommand;
170 ProviderCommand::Pointer m_StopStreamingCommand;
190 unsigned int m_StreamingTime;
193 std::mutex m_StreamingTimeMutex;
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKOPENIGTLINK_EXPORT
itk::SimpleMemberCommand< mitk::IGTLMessageProvider > ProviderCommand
#define mitkClassMacro(className, SuperClassName)
itkEventMacroDeclaration(BoundingShapeInteractionEvent, itk::AnyEvent)
OpenIGTLink message source.
Provides information/objects from a MITK-Pipeline to other OpenIGTLink devices.