14 #ifndef MITKIGTLMESSAGESOURCE_H_HEADER_INCLUDED_ 15 #define MITKIGTLMESSAGESOURCE_H_HEADER_INCLUDED_ 17 #include <itkProcessObject.h> 19 #include "MitkOpenIGTLinkExports.h" 27 #include <itkFastMutexLock.h> 51 itkGetMacro(Name,std::string);
57 itkSetMacro(Name,std::string);
64 itkGetMacro(Type,std::string);
71 itkSetMacro(Type,std::string);
81 IGTLMessage* GetOutput(DataObjectPointerArraySizeType idx);
86 IGTLMessage* GetOutput(
const std::string& messageName);
95 DataObjectPointerArraySizeType GetOutputIndex(std::string messageName);
101 virtual void RegisterAsMicroservice();
107 virtual void UnRegisterMicroservice();
114 std::string GetMicroserviceID();
130 virtual void GraftNthOutput(
unsigned int idx, itk::DataObject *graft);
137 virtual void GraftOutput(itk::DataObject *graft);
145 itk::DataObject::Pointer MakeOutput ( DataObjectPointerArraySizeType idx )
override;
153 itk::DataObject::Pointer MakeOutput(
const DataObjectIdentifierType &name)
override;
183 void SetFPS(
unsigned int fps);
188 unsigned int GetFPS();
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
static const std::string US_PROPKEY_ISACTIVE
virtual void SetParameters(const mitk::PropertyList *)
Set all filter parameters as the PropertyList p.
us::ServiceRegistration< Self > m_ServiceRegistration
DataCollection - Class to facilitate loading/accessing structured data.
unsigned int m_StreamingFPS
Key-value list holding instances of BaseProperty.
A wrapper for the OpenIGTLink message type.
#define mitkClassMacroItkParent(className, SuperClassName)
static const std::string US_PROPKEY_DEVICETYPE
OpenIGTLink message source.
itk::FastMutexLock::Pointer m_StreamingFPSMutex
static const std::string US_PROPKEY_ID
static const std::string US_PROPKEY_DEVICENAME
static const std::string US_INTERFACE_NAME
These Constants are used in conjunction with Microservices.