17 #ifndef MITKIGTLMESSAGEFACTORYH_HEADER_INCLUDED_
18 #define MITKIGTLMESSAGEFACTORYH_HEADER_INCLUDED_
20 #include "MitkOpenIGTLinkExports.h"
23 #include "igtlMessageBase.h"
24 #include "igtlMessageHeader.h"
41 itkFactorylessNewMacro(Self);
58 void AddMessageType(std::string messageTypeName,
70 virtual void AddMessageNewMethod(std::string messageTypeName,
80 std::string messageTypeName);
105 virtual void AddMessageCloneHandler(std::string msgTypeName,
117 GetCloneHandler(std::string messageTypeName);
130 std::list<std::string> GetAvailableMessageRequestTypes();
itk::SmartPointer< Self > Pointer
std::map< std::string, mitk::IGTLMessageCloneHandler::Pointer > m_CloneHandlers
Map igt message types and the Clone() methods.
std::map< std::string, PointerToMessageBaseNew > m_NewMethods
Map igt message types and the New() static methods of igtl::MessageBase classes.
DataCollection - Class to facilitate loading/accessing structured data.
igtl::MessageBase::Pointer(* PointerToMessageBaseNew)()
Function pointer for storing New() static methods of igtl::MessageBase classes.
#define mitkClassMacroItkParent(className, SuperClassName)
Factory class of supported OpenIGTLink message types.