Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::AnyGroupEvent Class Reference

#include <mitkMultiLabelEvents.h>

Inheritance diagram for mitk::AnyGroupEvent:
Collaboration diagram for mitk::AnyGroupEvent:

Public Types

using GroupIndexType = std::size_t
 
using Self = AnyGroupEvent
 
using Superclass = itk::ModifiedEvent
 

Public Member Functions

 AnyGroupEvent ()=default
 
 AnyGroupEvent (GroupIndexType groupID)
 
 AnyGroupEvent (const Self &s)
 
 ~AnyGroupEvent () override
 
const char * GetEventName () const override
 
bool CheckEvent (const itk::EventObject *e) const override
 
itk::EventObject * MakeObject () const override
 
void SetGroupID (GroupIndexType groupID)
 
GroupIndexType GetGroupID () const
 

Static Public Attributes

const static GroupIndexType ANY_GROUP
 

Detailed Description

Base event class for all events that are about a group in a MultiLabel class.

It has a member that indicates the group id the event is refering to. Use the ANY_GROUP value if you want to define an event (e.g. for adding an observer) that reacts to every group and not just to a special one.

Definition at line 147 of file mitkMultiLabelEvents.h.

Member Typedef Documentation

◆ GroupIndexType

Definition at line 150 of file mitkMultiLabelEvents.h.

◆ Self

◆ Superclass

using mitk::AnyGroupEvent::Superclass = itk::ModifiedEvent

Definition at line 152 of file mitkMultiLabelEvents.h.

Constructor & Destructor Documentation

◆ AnyGroupEvent() [1/3]

mitk::AnyGroupEvent::AnyGroupEvent ( )
default

◆ AnyGroupEvent() [2/3]

mitk::AnyGroupEvent::AnyGroupEvent ( GroupIndexType  groupID)

◆ AnyGroupEvent() [3/3]

mitk::AnyGroupEvent::AnyGroupEvent ( const Self s)

◆ ~AnyGroupEvent()

mitk::AnyGroupEvent::~AnyGroupEvent ( )
override

Member Function Documentation

◆ CheckEvent()

bool mitk::AnyGroupEvent::CheckEvent ( const itk::EventObject *  e) const
override

◆ GetEventName()

const char* mitk::AnyGroupEvent::GetEventName ( ) const
override

◆ GetGroupID()

GroupIndexType mitk::AnyGroupEvent::GetGroupID ( ) const

◆ MakeObject()

itk::EventObject* mitk::AnyGroupEvent::MakeObject ( ) const
override

◆ SetGroupID()

void mitk::AnyGroupEvent::SetGroupID ( GroupIndexType  groupID)

Member Data Documentation

◆ ANY_GROUP

const static GroupIndexType mitk::AnyGroupEvent::ANY_GROUP
static

Definition at line 153 of file mitkMultiLabelEvents.h.


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