Go to the documentation of this file.
18 #ifndef itkHolderCommand_h
19 #define itkHolderCommand_h
102 this->m_Object = object;
107 return this->m_Object;
112 return this->m_Object;
128 : m_Object(nullptr){};
const ObjectType * Get() const
~HolderCommand() override=default
void Set(ObjectType *object)
void Set(const ObjectType object)
class ITK_FORWARD_EXPORT Command
void Execute(itk::Object *, const itk::EventObject &) override
itkNewMacro(HolderCommand)
void operator=(const HolderCommand &)=delete
An ITK Command class to hold a object until destruction.
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
const ObjectType & Get() const
~HolderCommand() override