#include <rtkGlobalResourceProbe.h>
Definition at line 36 of file rtkGlobalResourceProbe.h.
Inheritance diagram for rtk::GlobalResourceProbe:
Collaboration diagram for rtk::GlobalResourceProbe:Public Types | |
| using | ConstPointer = itk::SmartPointer<const Self> |
| using | Pointer = itk::SmartPointer<Self> |
| using | Self = GlobalResourceProbe |
| using | Superclass = itk::Object |
Public Types inherited from itk::Object | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Object |
| using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightObject |
Public Member Functions | |
| virtual void | Clear () |
| virtual const char * | GetNameOfClass () const |
| virtual bool | GetVerbose () |
| virtual void | Remove (const rtk::WatcherForResourceProbe *w) |
| virtual void | Report (std::ostream &os=std::cout) const |
| virtual void | SetVerbose (bool _arg) |
| virtual void | Start (const char *id) |
| virtual void | Stop (const char *id) |
| virtual void | Watch (itk::ProcessObject *o) |
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 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 | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
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 |
Static Public Member Functions | |
| static Pointer | GetInstance () |
| static Pointer | New () |
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 Member Functions | |
| GlobalResourceProbe () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~GlobalResourceProbe () 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 () |
Protected Attributes | |
| ResourceProbesCollector | m_ResourceProbesCollector |
| bool | m_Verbose |
| std::vector< rtk::WatcherForResourceProbe * > | m_Watchers |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
Private Attributes | |
| std::mutex | m_Mutex |
Static Private Attributes | |
| static Pointer | m_Instance |
| using rtk::GlobalResourceProbe::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 45 of file rtkGlobalResourceProbe.h.
Definition at line 44 of file rtkGlobalResourceProbe.h.
Standard class type alias.
Definition at line 42 of file rtkGlobalResourceProbe.h.
Definition at line 43 of file rtkGlobalResourceProbe.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotected |
|
virtual |
Destroy the set of probes. New probes can be created after invoking this method.
|
static |
Return the singleton instance with no reference counting.
Referenced by rtk::args_info_manager< TArgsInfo, TCleanupFunction >::args_info_manager().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Object.
References GlobalResourceProbe().
|
virtual |
|
static |
This is a singleton pattern New. There will only be ONE reference to a GlobalResourceProbe object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightObject.
|
virtual |
Remove a watcher
|
virtual |
Report the summary of results from the probes
|
virtual |
Set / Get macro for verbosity
|
virtual |
Start a probe with a particular name. If the time probe does not exist, it will be created
|
virtual |
Stop a time probe identified with a name
|
virtual |
Create a new watcher and store it
|
staticprivate |
Definition at line 103 of file rtkGlobalResourceProbe.h.
|
private |
Definition at line 104 of file rtkGlobalResourceProbe.h.
|
protected |
Definition at line 99 of file rtkGlobalResourceProbe.h.
|
protected |
Definition at line 97 of file rtkGlobalResourceProbe.h.
|
protected |
Definition at line 100 of file rtkGlobalResourceProbe.h.