SimpleITK  
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::HolderCommand< T * > Class Template Reference

#include <itkHolderCommand.h>

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

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using ObjectType = T
 
using Pointer = itk::SmartPointer< Self >
 
using Self = HolderCommand
 
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 (itk::Object *, const itk::EventObject &) override
 
ObjectType * Get ()
 
const ObjectType * Get () const
 
 HolderCommand (const HolderCommand &)=delete
 
 itkNewMacro (HolderCommand)
 
void operator= (const HolderCommand &)=delete
 
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 *)
 
unsigned long AddObserver (const EventObject &event, Command *) 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)
 
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 () override
 
- 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
 

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
 

Detailed Description

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

Definition at line 70 of file itkHolderCommand.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 80 of file itkHolderCommand.h.

◆ ObjectType

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

Definition at line 74 of file itkHolderCommand.h.

◆ Pointer

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

Definition at line 79 of file itkHolderCommand.h.

◆ Self

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

Definition at line 76 of file itkHolderCommand.h.

◆ Superclass

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

Definition at line 77 of file itkHolderCommand.h.

Constructor & Destructor Documentation

◆ HolderCommand() [1/2]

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

◆ HolderCommand() [2/2]

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

Definition at line 95 of file itkHolderCommand.h.

◆ ~HolderCommand()

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

Definition at line 96 of file itkHolderCommand.h.

Member Function Documentation

◆ Execute() [1/2]

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

Implements itk::Command.

Definition at line 89 of file itkHolderCommand.h.

◆ Execute() [2/2]

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

Implements itk::Command.

Definition at line 88 of file itkHolderCommand.h.

◆ Get() [1/2]

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

Definition at line 85 of file itkHolderCommand.h.

◆ Get() [2/2]

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

Definition at line 86 of file itkHolderCommand.h.

◆ itkNewMacro()

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

◆ operator=()

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

◆ Set()

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

Definition at line 84 of file itkHolderCommand.h.

Member Data Documentation

◆ m_Object

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

Definition at line 100 of file itkHolderCommand.h.


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