64 ITK_DISALLOW_COPY_AND_MOVE(
Object);
85 itkOverrideGetNameOfClassMacro(
Object);
126 SetReferenceCount(
int) override;
131 SetGlobalWarningDisplay(
bool val);
134 GetGlobalWarningDisplay();
137 GlobalWarningDisplayOn()
139 SetGlobalWarningDisplay(
true);
144 SetGlobalWarningDisplay(
false);
239 itkSetMacro(ObjectName, std::string);
240 itkGetConstReferenceMacro(ObjectName, std::string);
268 mutable bool m_Debug{
false };
277 class SubjectImplementation;
290 mutable std::unique_ptr<MetaDataDictionary> m_MetaDataDictionary{
nullptr };
292 std::string m_ObjectName{};
Superclass for callback/observer methods.
Abstraction of the Events used to communicating among filters and with GUIs.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
void InvokeEvent(const EventObject &)
virtual const TimeStamp & GetTimeStamp() const
std::unique_ptr< SubjectImplementation > m_SubjectImplementation
virtual ModifiedTimeType GetMTime() const
MetaDataDictionary & GetMetaDataDictionary()
virtual void DebugOff() const
void RemoveAllObservers()
static bool * m_GlobalWarningDisplay
const MetaDataDictionary & GetMetaDataDictionary() const
void RemoveObserver(unsigned long tag) const
static void GlobalWarningDisplayOff()
void UnRegister() const noexcept override
unsigned long AddObserver(const EventObject &event, Command *cmd) const
Add an observer/command to this object invoked for event.
unsigned long AddObserver(const EventObject &event, std::function< void(const EventObject &)> function) const
A convenient method to add an C++ lambda function as an observer.
void PrintSelf(std::ostream &os, Indent indent) const override
void SetMetaDataDictionary(MetaDataDictionary &&rrhs)
void SetMetaDataDictionary(const MetaDataDictionary &rhs)
void SetDebug(bool debugFlag) const
bool PrintObservers(std::ostream &os, Indent indent) const
LightObject::Pointer CreateAnother() const override
bool HasObserver(const EventObject &event) const
void Register() const override
virtual void SetTimeStamp(const TimeStamp &timeStamp)
void InvokeEvent(const EventObject &) const
itkGetGlobalDeclarationMacro(bool, GlobalWarningDisplay)
virtual void DebugOn() const
Command * GetCommand(unsigned long tag)
virtual void Modified() const
Generate a unique, increasing time value.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType ModifiedTimeType