Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
Medical Imaging Interaction Toolkit
mitk::IGTLDummyMessage Class Reference

This class is a dummy message to show 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 () override

Protected Member Functions

 IGTLDummyMessage ()
 ~IGTLDummyMessage () override

Protected Attributes

std::string m_dummyString

Detailed Description

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

Definition at line 29 of file mitkIGTLDummyMessage.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 35 of file mitkIGTLDummyMessage.h.

◆ Pointer

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

Definition at line 34 of file mitkIGTLDummyMessage.h.

◆ Self

◆ Superclass

typedef StringMessage mitk::IGTLDummyMessage::Superclass

Definition at line 33 of file mitkIGTLDummyMessage.h.

Constructor & Destructor Documentation

◆ IGTLDummyMessage()

mitk::IGTLDummyMessage::IGTLDummyMessage ( )

◆ ~IGTLDummyMessage()

mitk::IGTLDummyMessage::~IGTLDummyMessage ( )

Member Function Documentation

◆ Clone()

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

Returns a clone of itself

◆ GetDummyString()

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

Get dummy string

◆ igtlNewMacro()

mitk::IGTLDummyMessage::igtlNewMacro ( mitk::IGTLDummyMessage  )

◆ igtlTypeMacro()

mitk::IGTLDummyMessage::igtlTypeMacro ( mitk::IGTLDummyMessage  ,

◆ SetDummyString()

void mitk::IGTLDummyMessage::SetDummyString ( const std::string &  dummyString)

Set dummy string

Member Data Documentation

◆ m_dummyString

std::string mitk::IGTLDummyMessage::m_dummyString

Definition at line 60 of file mitkIGTLDummyMessage.h.

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