17 #ifndef MITKIGTLMESSAGECLONE_H_
18 #define MITKIGTLMESSAGECLONE_H_
20 #include "itkObject.h"
23 #include "igtlObject.h"
24 #include "igtlMacro.h"
25 #include "igtlSocket.h"
26 #include "igtlMessageBase.h"
28 #include "MitkOpenIGTLinkExports.h"
44 itkFactorylessNewMacro(Self);
70 #define mitkIGTMessageCloneClassMacro(messagetype, classname) \
71 class classname : public ::mitk::IGTLMessageCloneHandler \
74 mitkClassMacro(classname, mitk::IGTLMessageCloneHandler); \
75 itkFactorylessNewMacro(Self); \
76 itkCloneMacro(Self); \
78 virtual igtl::MessageBase::Pointer Clone(igtl::MessageBase*); \
87 #endif // MITKIGTLMESSAGECLONE_H_
itk::SmartPointer< Self > Pointer
IGTLMessageCloneHandler()
DataCollection - Class to facilitate loading/accessing structured data.
~IGTLMessageCloneHandler()
#define mitkClassMacroItkParent(className, SuperClassName)
virtual igtl::MessageBase::Pointer Clone(igtl::MessageBase *)
Base class for clone handlers for igtl::MessageBase derived message types.