Medical Imaging Interaction Toolkit  2024.06.99-c70462f2
Medical Imaging Interaction Toolkit
mitk::GroupAddedEvent Class Reference

#include <mitkMultiLabelEvents.h>

Inheritance diagram for mitk::GroupAddedEvent:
Collaboration diagram for mitk::GroupAddedEvent:

Public Types

using Self = GroupAddedEvent
 
using Superclass = AnyGroupEvent
 
- Public Types inherited from mitk::AnyGroupEvent
using GroupIndexType = std::size_t
 
using Self = AnyGroupEvent
 
using Superclass = itk::ModifiedEvent
 

Public Member Functions

 GroupAddedEvent ()=default
 
 GroupAddedEvent (AnyGroupEvent::GroupIndexType value)
 
 GroupAddedEvent (const Self &s)
 
virtual ~ GroupAddedEvent () override
 
virtual const char * GetEventName () const override
 
virtual bool CheckEvent (const itk::EventObject *e) const override
 
virtual itk::EventObject * MakeObject () const override
 
- Public Member Functions inherited from mitk::AnyGroupEvent
 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
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::AnyGroupEvent
const static GroupIndexType ANY_GROUP
 

Detailed Description

Event class that is used to indicated if a group is added 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 rvent (e.g. for adding an observer) that reacts to every group and not just to a special one.

Definition at line 176 of file mitkMultiLabelEvents.h.

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ GroupAddedEvent() [1/3]

mitk::GroupAddedEvent::GroupAddedEvent ( )
default

◆ GroupAddedEvent() [2/3]

mitk::GroupAddedEvent::GroupAddedEvent ( AnyGroupEvent::GroupIndexType  value)

◆ GroupAddedEvent() [3/3]

mitk::GroupAddedEvent::GroupAddedEvent ( const Self s)

◆ ~ GroupAddedEvent()

virtual mitk::GroupAddedEvent::~ GroupAddedEvent ( )
overridevirtual

Member Function Documentation

◆ CheckEvent()

virtual bool mitk::GroupAddedEvent::CheckEvent ( const itk::EventObject *  e) const
overridevirtual

◆ GetEventName()

virtual const char* mitk::GroupAddedEvent::GetEventName ( ) const
overridevirtual

◆ MakeObject()

virtual itk::EventObject* mitk::GroupAddedEvent::MakeObject ( ) const
overridevirtual

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