SimpleITK  
itk::HolderCommand< T * > Class Template Reference

#include <itkHolderCommand.h>

+ Inheritance diagram for itk::HolderCommand< T * >:
+ Collaboration diagram for itk::HolderCommand< T * >:

Detailed Description

template<class T>
class itk::HolderCommand< T * >

Definition at line 86 of file itkHolderCommand.h.

Public Types

using ConstPointer
 
using ConstPointer = itk::SmartPointer<const Self>
 
using ObjectType
 
using ObjectType = T
 
using Pointer
 
using Pointer = itk::SmartPointer<Self>
 
using Self
 
using Self = HolderCommand
 
using Superclass
 
using Superclass = itk::Command
 
- Public Types inherited from itk::Command
typedef SmartPointer< const Self > ConstPointer
 
typedef SmartPointer< Self > Pointer
 
typedef Command Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const Self > ConstPointer
 
typedef SmartPointer< Self > Pointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const Self > ConstPointer
 
typedef SmartPointer< Self > Pointer
 
typedef LightObject Self
 

Public Member Functions

void Execute (const itk::Object *, const itk::EventObject &) override
 
void Execute (const itk::Object *, const itk::EventObject &) override
 
void Execute (itk::Object *, const itk::EventObject &) override
 
void Execute (itk::Object *, const itk::EventObject &) override
 
ObjectType & Get ()
 
ObjectType * Get ()
 
const ObjectType & Get () const
 
const ObjectType * Get () const
 
 HolderCommand (const HolderCommand &)=delete
 
 HolderCommand (const HolderCommand &)=delete
 
 itkNewMacro (HolderCommand)
 
 itkNewMacro (HolderCommand)
 
void operator= (const HolderCommand &)=delete
 
void operator= (const HolderCommand &)=delete
 
void Set (const ObjectType object)
 
void Set (ObjectType *object)
 
- Public Member Functions inherited from itk::Command
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetObjectName (std::string _arg)
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Member Functions

 HolderCommand ()
 
 HolderCommand ()=default
 
 ~HolderCommand () override
 
 ~HolderCommand () override=default
 
- Protected Member Functions inherited from itk::Command
 Command ()
 
 ~Command () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

ObjectType m_Object
 
ObjectType * m_Object
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

◆ ConstPointer [1/2]

using itk::HolderCommand< T >::ConstPointer

Definition at line 46 of file itkHolderCommand.h.

◆ ConstPointer [2/2]

template<class T>
using itk::HolderCommand< T * >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 95 of file itkHolderCommand.h.

◆ ObjectType [1/2]

using itk::HolderCommand< T >::ObjectType

Definition at line 40 of file itkHolderCommand.h.

◆ ObjectType [2/2]

template<class T>
using itk::HolderCommand< T * >::ObjectType = T

Definition at line 89 of file itkHolderCommand.h.

◆ Pointer [1/2]

using itk::HolderCommand< T >::Pointer

Definition at line 45 of file itkHolderCommand.h.

◆ Pointer [2/2]

template<class T>
using itk::HolderCommand< T * >::Pointer = itk::SmartPointer<Self>

Definition at line 94 of file itkHolderCommand.h.

◆ Self [1/2]

using itk::HolderCommand< T >::Self

Definition at line 42 of file itkHolderCommand.h.

◆ Self [2/2]

template<class T>
using itk::HolderCommand< T * >::Self = HolderCommand

Definition at line 91 of file itkHolderCommand.h.

◆ Superclass [1/2]

using itk::HolderCommand< T >::Superclass

Definition at line 43 of file itkHolderCommand.h.

◆ Superclass [2/2]

template<class T>
using itk::HolderCommand< T * >::Superclass = itk::Command

Definition at line 92 of file itkHolderCommand.h.

Constructor & Destructor Documentation

◆ HolderCommand() [1/4]

template<class T>
itk::HolderCommand< T * >::HolderCommand ( const HolderCommand< T * > & )
delete

References HolderCommand().

Referenced by HolderCommand(), itkNewMacro(), and operator=().

◆ HolderCommand() [2/4]

template<class T>
itk::HolderCommand< T * >::HolderCommand ( )
inlineprotected

Definition at line 127 of file itkHolderCommand.h.

References m_Object.

◆ ~HolderCommand() [1/2]

template<class T>
itk::HolderCommand< T * >::~HolderCommand ( )
inlineoverrideprotected

Definition at line 129 of file itkHolderCommand.h.

References m_Object.

◆ HolderCommand() [3/4]

itk::HolderCommand< T >::HolderCommand ( const HolderCommand< T * > & )
delete

◆ HolderCommand() [4/4]

itk::HolderCommand< T >::HolderCommand ( )
protecteddefault

◆ ~HolderCommand() [2/2]

itk::HolderCommand< T >::~HolderCommand ( )
overrideprotecteddefault

Member Function Documentation

◆ Execute() [1/4]

void itk::HolderCommand< T >::Execute ( const itk::Object * ,
const itk::EventObject &  )
inlineoverridevirtual

Implements itk::Command.

Definition at line 70 of file itkHolderCommand.h.

◆ Execute() [2/4]

template<class T>
void itk::HolderCommand< T * >::Execute ( const itk::Object * ,
const itk::EventObject &  )
inlineoverridevirtual

Implements itk::Command.

Definition at line 119 of file itkHolderCommand.h.

◆ Execute() [3/4]

void itk::HolderCommand< T >::Execute ( itk::Object * ,
const itk::EventObject &  )
inlineoverridevirtual

Implements itk::Command.

Definition at line 67 of file itkHolderCommand.h.

◆ Execute() [4/4]

template<class T>
void itk::HolderCommand< T * >::Execute ( itk::Object * ,
const itk::EventObject &  )
inlineoverridevirtual

Implements itk::Command.

Definition at line 116 of file itkHolderCommand.h.

◆ Get() [1/4]

ObjectType & itk::HolderCommand< T >::Get ( )
inline

Definition at line 56 of file itkHolderCommand.h.

◆ Get() [2/4]

template<class T>
ObjectType * itk::HolderCommand< T * >::Get ( )
inline

Definition at line 105 of file itkHolderCommand.h.

References m_Object.

◆ Get() [3/4]

const ObjectType & itk::HolderCommand< T >::Get ( ) const
inline

Definition at line 61 of file itkHolderCommand.h.

◆ Get() [4/4]

template<class T>
const ObjectType * itk::HolderCommand< T * >::Get ( ) const
inline

Definition at line 110 of file itkHolderCommand.h.

References m_Object.

◆ itkNewMacro() [1/2]

itk::HolderCommand< T >::itkNewMacro ( HolderCommand< T * > )

◆ itkNewMacro() [2/2]

template<class T>
itk::HolderCommand< T * >::itkNewMacro ( HolderCommand< T * > )

References HolderCommand().

◆ operator=() [1/2]

void itk::HolderCommand< T >::operator= ( const HolderCommand< T * > & )
delete

◆ operator=() [2/2]

template<class T>
void itk::HolderCommand< T * >::operator= ( const HolderCommand< T * > & )
delete

References HolderCommand().

◆ Set() [1/2]

void itk::HolderCommand< T >::Set ( const ObjectType object)
inline

Definition at line 51 of file itkHolderCommand.h.

◆ Set() [2/2]

template<class T>
void itk::HolderCommand< T * >::Set ( ObjectType * object)
inline

Definition at line 100 of file itkHolderCommand.h.

References m_Object.

Member Data Documentation

◆ m_Object [1/2]

ObjectType itk::HolderCommand< T >::m_Object
private

Definition at line 82 of file itkHolderCommand.h.

◆ m_Object [2/2]

template<class T>
ObjectType* itk::HolderCommand< T * >::m_Object
private

Definition at line 132 of file itkHolderCommand.h.

Referenced by Get(), Get(), HolderCommand(), Set(), and ~HolderCommand().


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