ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::WatcherForResourceProbe Class Reference

#include <rtkWatcherForResourceProbe.h>

Detailed Description

Very light watcher to monitor Start and End events on all filters.

Author
Cyril Mory

Definition at line 38 of file rtkWatcherForResourceProbe.h.

+ Collaboration diagram for rtk::WatcherForResourceProbe:

Public Member Functions

const char * GetNameOfClass ()
 
const ProcessObject * GetProcess () const
 
WatcherForResourceProbe & operator= (const WatcherForResourceProbe &)
 
 WatcherForResourceProbe (const WatcherForResourceProbe &)
 
 WatcherForResourceProbe (itk::ProcessObject *o)
 
virtual ~WatcherForResourceProbe ()
 

Protected Member Functions

virtual void DeleteFilter ()
 
virtual void EndFilter ()
 
virtual void StartFilter ()
 

Private Types

using CommandType = SimpleMemberCommand<WatcherForResourceProbe>
 

Private Attributes

CommandType::Pointer m_DeleteFilterCommand
 
unsigned long m_DeleteTag
 
CommandType::Pointer m_EndFilterCommand
 
unsigned long m_EndTag
 
itk::ProcessObject * m_Process
 
CommandType::Pointer m_StartFilterCommand
 
unsigned long m_StartTag
 

Member Typedef Documentation

◆ CommandType

Constructor & Destructor Documentation

◆ WatcherForResourceProbe() [1/2]

rtk::WatcherForResourceProbe::WatcherForResourceProbe ( itk::ProcessObject * o)
explicit

Constructor. Takes a ProcessObject to monitor and an optional comment string that is prepended to each event message.

Referenced by operator=(), and WatcherForResourceProbe().

◆ WatcherForResourceProbe() [2/2]

rtk::WatcherForResourceProbe::WatcherForResourceProbe ( const WatcherForResourceProbe & )

Copy constructor

References WatcherForResourceProbe().

◆ ~WatcherForResourceProbe()

virtual rtk::WatcherForResourceProbe::~WatcherForResourceProbe ( )
virtual

Destructor.

Member Function Documentation

◆ DeleteFilter()

virtual void rtk::WatcherForResourceProbe::DeleteFilter ( )
protectedvirtual

Callback method to show the DeleteEvent

◆ EndFilter()

virtual void rtk::WatcherForResourceProbe::EndFilter ( )
protectedvirtual

Callback method to show the EndEvent

◆ GetNameOfClass()

const char * rtk::WatcherForResourceProbe::GetNameOfClass ( )
inline

Method to get the name of the class being monitored by this WatcherForResourceProbe

Definition at line 58 of file rtkWatcherForResourceProbe.h.

References m_Process.

◆ GetProcess()

const ProcessObject * rtk::WatcherForResourceProbe::GetProcess ( ) const
inlinenodiscard

Methods to access member data Get a pointer to the process object being watched.

Definition at line 66 of file rtkWatcherForResourceProbe.h.

References m_Process.

◆ operator=()

WatcherForResourceProbe & rtk::WatcherForResourceProbe::operator= ( const WatcherForResourceProbe & )

operator=

References WatcherForResourceProbe().

◆ StartFilter()

virtual void rtk::WatcherForResourceProbe::StartFilter ( )
protectedvirtual

Callback method to show the StartEvent

Member Data Documentation

◆ m_DeleteFilterCommand

CommandType::Pointer rtk::WatcherForResourceProbe::m_DeleteFilterCommand
private

Definition at line 91 of file rtkWatcherForResourceProbe.h.

◆ m_DeleteTag

unsigned long rtk::WatcherForResourceProbe::m_DeleteTag
private

Definition at line 95 of file rtkWatcherForResourceProbe.h.

◆ m_EndFilterCommand

CommandType::Pointer rtk::WatcherForResourceProbe::m_EndFilterCommand
private

Definition at line 90 of file rtkWatcherForResourceProbe.h.

◆ m_EndTag

unsigned long rtk::WatcherForResourceProbe::m_EndTag
private

Definition at line 94 of file rtkWatcherForResourceProbe.h.

◆ m_Process

itk::ProcessObject* rtk::WatcherForResourceProbe::m_Process
private

Definition at line 86 of file rtkWatcherForResourceProbe.h.

Referenced by GetNameOfClass(), and GetProcess().

◆ m_StartFilterCommand

CommandType::Pointer rtk::WatcherForResourceProbe::m_StartFilterCommand
private

Definition at line 89 of file rtkWatcherForResourceProbe.h.

◆ m_StartTag

unsigned long rtk::WatcherForResourceProbe::m_StartTag
private

Definition at line 93 of file rtkWatcherForResourceProbe.h.


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