39 class SubjectImplementation;
63 ITK_DISALLOW_COPY_AND_ASSIGN(
Object);
85 virtual void DebugOn()
const;
88 virtual void DebugOff()
const;
91 bool GetDebug()
const;
94 void SetDebug(
bool debugFlag)
const;
100 virtual const TimeStamp & GetTimeStamp()
const;
104 virtual void Modified()
const;
107 void Register()
const override;
110 void UnRegister() const noexcept override;
113 void SetReferenceCount(
int) override;
117 static
void SetGlobalWarningDisplay(
bool flag);
119 static
bool GetGlobalWarningDisplay();
121 static
void GlobalWarningDisplayOn()
122 { SetGlobalWarningDisplay(
true); }
124 { SetGlobalWarningDisplay(
false); }
143 Command * GetCommand(
unsigned long tag);
153 void RemoveObserver(
unsigned long tag);
156 void RemoveAllObservers();
186 itkSetMacro(ObjectName, std::string);
187 itkGetConstReferenceMacro(ObjectName, std::string);
198 void PrintSelf(std::ostream & os,
Indent indent)
const override;
200 bool PrintObservers(std::ostream & os,
Indent indent)
const;
205 virtual void SetTimeStamp(
const TimeStamp & time );
212 mutable bool m_Debug{
false};
222 SubjectImplementation *m_SubjectImplementation{
nullptr};
Light weight base class for most itk classes.
#define itkGetGlobalDeclarationMacro(Type, VarName)
static bool * m_GlobalWarningDisplay
Generate a unique, increasing time value.
unsigned long ModifiedTimeType
Abstraction of the Events used to communicating among filters and with GUIs.
Control indentation during Print() invocation.
static void GlobalWarningDisplayOff()
Base class for most ITK classes.
Superclass for callback/observer methods.