14 #ifndef mitkIGTLMessageSource_h
15 #define mitkIGTLMessageSource_h
17 #include <itkProcessObject.h>
19 #include "MitkOpenIGTLinkExports.h"
50 itkGetMacro(Name,std::string);
56 itkSetMacro(Name,std::string);
63 itkGetMacro(Type,std::string);
70 itkSetMacro(Type,std::string);
80 IGTLMessage* GetOutput(DataObjectPointerArraySizeType idx);
85 IGTLMessage* GetOutput(
const std::string& messageName);
94 DataObjectPointerArraySizeType GetOutputIndex(std::string messageName);
100 virtual void RegisterAsMicroservice();
106 virtual void UnRegisterMicroservice();
113 std::string GetMicroserviceID();
129 virtual void GraftNthOutput(
unsigned int idx, itk::DataObject *graft);
136 virtual void GraftOutput(itk::DataObject *graft);
144 itk::DataObject::Pointer MakeOutput ( DataObjectPointerArraySizeType idx )
override;
152 itk::DataObject::Pointer MakeOutput(
const DataObjectIdentifierType &name)
override;
182 void SetFPS(
unsigned int fps);
187 unsigned int GetFPS();