Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include "itkObject.h"
#include "mitkCommon.h"
#include "igtlObject.h"
#include "igtlMacro.h"
#include "igtlSocket.h"
#include "igtlMessageBase.h"
#include "MitkOpenIGTLinkExports.h"
Go to the source code of this file.
Classes | |
class | mitk::IGTLMessageCloneHandler |
Base class for clone handlers for igtl::MessageBase derived message types. More... | |
Namespaces | |
mitk | |
Find image slices visible on a given plane. | |
Macros | |
#define | mitkIGTMessageCloneClassMacro(messagetype, classname) |
#define mitkIGTMessageCloneClassMacro | ( | messagetype, | |
classname | |||
) |
Description: The mitkIGTMessageCloneClassMacro() macro is to help developers to define message clone handler classes. It generates a chlid class of mitk::IGTLMessageCloneHandler. The developer only needs to implement Clone() after calling this macro. The following code shows how to define a handler that processes IMAGE message:
mitkIGTMessageCloneClassMacro(igtl::ImageMessage, TestImageMessageHandler); igtl::MessageBase::Pointer TestImageMessageHandler::Clone(igtl::MessageBase * message) { // do something }
Definition at line 66 of file mitkIGTLMessageCloneHandler.h.