Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::IGTLDummyMessage Class Reference

This class is a dummy message to show the how to implement a new message type. More...

#include <mitkIGTLDummyMessage.h>

Inheritance diagram for mitk::IGTLDummyMessage:
Collaboration diagram for mitk::IGTLDummyMessage:

Public Types

typedef IGTLDummyMessage Self
 
typedef StringMessage Superclass
 
typedef igtl::SmartPointer< SelfPointer
 
typedef igtl::SmartPointer< const SelfConstPointer
 

Public Member Functions

 igtlTypeMacro (mitk::IGTLDummyMessage, igtl::StringMessage)
 
 igtlNewMacro (mitk::IGTLDummyMessage)
 
void SetDummyString (const std::string &dummyString)
 
std::string GetDummyString ()
 
igtl::MessageBase::Pointer Clone ()
 

Protected Member Functions

 IGTLDummyMessage ()
 
 ~IGTLDummyMessage ()
 

Protected Attributes

std::string m_dummyString
 

Detailed Description

This class is a dummy message to show the how to implement a new message type.

Documentation

Definition at line 34 of file mitkIGTLDummyMessage.h.

Member Typedef Documentation

typedef igtl::SmartPointer<const Self> mitk::IGTLDummyMessage::ConstPointer

Definition at line 40 of file mitkIGTLDummyMessage.h.

typedef igtl::SmartPointer<Self> mitk::IGTLDummyMessage::Pointer

Definition at line 39 of file mitkIGTLDummyMessage.h.

typedef StringMessage mitk::IGTLDummyMessage::Superclass

Definition at line 38 of file mitkIGTLDummyMessage.h.

Constructor & Destructor Documentation

mitk::IGTLDummyMessage::IGTLDummyMessage ( )
protected

Definition at line 24 of file mitkIGTLDummyMessage.cpp.

mitk::IGTLDummyMessage::~IGTLDummyMessage ( )
protected

Definition at line 29 of file mitkIGTLDummyMessage.cpp.

Member Function Documentation

igtl::MessageBase::Pointer mitk::IGTLDummyMessage::Clone ( )

Returns a clone of itself

Definition at line 44 of file mitkIGTLDummyMessage.cpp.

References clone(), and mitk::New().

Referenced by mitk::DummyMsgCloneHandler::Clone().

std::string mitk::IGTLDummyMessage::GetDummyString ( )

Get dummy string

Definition at line 39 of file mitkIGTLDummyMessage.cpp.

mitk::IGTLDummyMessage::igtlNewMacro ( mitk::IGTLDummyMessage  )
mitk::IGTLDummyMessage::igtlTypeMacro ( mitk::IGTLDummyMessage  ,
igtl::StringMessage   
)
void mitk::IGTLDummyMessage::SetDummyString ( const std::string &  dummyString)

Set dummy string

Definition at line 33 of file mitkIGTLDummyMessage.cpp.

Member Data Documentation

std::string mitk::IGTLDummyMessage::m_dummyString
protected

Definition at line 65 of file mitkIGTLDummyMessage.h.


The documentation for this class was generated from the following files: