Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVTimerInformation Class Reference

Holds timer log for all processes. More...

#include <vtkPVTimerInformation.h>

Inheritance diagram for vtkPVTimerInformation:
Inheritance graph
[legend]
Collaboration diagram for vtkPVTimerInformation:
Collaboration graph
[legend]

Public Types

typedef vtkPVInformation Superclass
 
- Public Types inherited from vtkPVInformation
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void AddInformation (vtkPVInformation *info) override
 Merge another information object. More...
 
virtual void SetLogThreshold (double)
 Get/Set the threshold to use to gather the timer log information. More...
 
virtual double GetLogThreshold ()
 Get/Set the threshold to use to gather the timer log information. More...
 
int GetNumberOfLogs ()
 Access to the logs. More...
 
char * GetLog (int proc)
 Access to the logs. More...
 
void CopyFromObject (vtkObject *data) override
 Transfer information about a single object into this object. More...
 
virtual void CopyFromMessage (unsigned char *msg)
 Transfer information about a single object into this object. More...
 
void CopyToStream (vtkClientServerStream *) override
 Serialize objects to/from a stream object. More...
 
void CopyFromStream (const vtkClientServerStream *css) override
 Serialize objects to/from a stream object. More...
 
- Public Member Functions inherited from vtkPVInformation
virtual int GetRootOnly ()
 Set/get whether to gather information only from the root. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkPVTimerInformationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVTimerInformationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVInformation
static int IsTypeOf (const char *type)
 
static vtkPVInformationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

void Reallocate (int num)
 
void InsertLog (int id, const char *log)
 
 vtkPVTimerInformation (const vtkPVTimerInformation &)=delete
 
void operator= (const vtkPVTimerInformation &)=delete
 
- Protected Member Functions inherited from vtkPVInformation
 vtkPVInformation ()
 
 ~vtkPVInformation () override
 
virtual void SetRootOnly (int)
 
 vtkPVInformation (const vtkPVInformation &)=delete
 
void operator= (const vtkPVInformation &)=delete
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

double LogThreshold
 
int NumberOfLogs
 
char ** Logs
 
- Protected Attributes inherited from vtkPVInformation
int RootOnly
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
void CopyParametersToStream (vtkMultiProcessStream &) override
 Serialize/Deserialize the parameters that control how/what information is gathered. More...
 
void CopyParametersFromStream (vtkMultiProcessStream &) override
 Serialize/Deserialize the parameters that control how/what information is gathered. More...
 
 vtkPVTimerInformation ()
 Serialize/Deserialize the parameters that control how/what information is gathered. More...
 
 ~vtkPVTimerInformation () override
 Serialize/Deserialize the parameters that control how/what information is gathered. More...
 

Detailed Description

Holds timer log for all processes.

I am using this information object to gather timer logs from all processes.

Definition at line 16 of file vtkPVTimerInformation.h.

Member Typedef Documentation

◆ Superclass

Definition at line 20 of file vtkPVTimerInformation.h.

Constructor & Destructor Documentation

◆ vtkPVTimerInformation() [1/2]

vtkPVTimerInformation::vtkPVTimerInformation ( )
protected

Serialize/Deserialize the parameters that control how/what information is gathered.

This are different from the ivars that constitute the gathered information itself.

◆ ~vtkPVTimerInformation()

vtkPVTimerInformation::~vtkPVTimerInformation ( )
overrideprotected

Serialize/Deserialize the parameters that control how/what information is gathered.

This are different from the ivars that constitute the gathered information itself.

◆ vtkPVTimerInformation() [2/2]

vtkPVTimerInformation::vtkPVTimerInformation ( const vtkPVTimerInformation )
protecteddelete

Member Function Documentation

◆ New()

static vtkPVTimerInformation* vtkPVTimerInformation::New ( )
static

◆ GetClassName()

virtual const char* vtkPVTimerInformation::GetClassName ( )
virtual

Reimplemented from vtkPVInformation.

◆ IsTypeOf()

static int vtkPVTimerInformation::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVTimerInformation::IsA ( const char *  type)
virtual

Reimplemented from vtkPVInformation.

◆ SafeDownCast()

static vtkPVTimerInformation* vtkPVTimerInformation::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkPVTimerInformation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkPVInformation.

◆ SetLogThreshold()

virtual void vtkPVTimerInformation::SetLogThreshold ( double  )
virtual

Get/Set the threshold to use to gather the timer log information.

This must be set before calling GatherInformation().

◆ GetLogThreshold()

virtual double vtkPVTimerInformation::GetLogThreshold ( )
virtual

Get/Set the threshold to use to gather the timer log information.

This must be set before calling GatherInformation().

◆ GetNumberOfLogs()

int vtkPVTimerInformation::GetNumberOfLogs ( )

Access to the logs.

◆ GetLog()

char* vtkPVTimerInformation::GetLog ( int  proc)

Access to the logs.

◆ CopyFromObject()

void vtkPVTimerInformation::CopyFromObject ( vtkObject data)
overridevirtual

Transfer information about a single object into this object.

Reimplemented from vtkPVInformation.

◆ CopyFromMessage()

virtual void vtkPVTimerInformation::CopyFromMessage ( unsigned char *  msg)
virtual

Transfer information about a single object into this object.

◆ AddInformation()

void vtkPVTimerInformation::AddInformation ( vtkPVInformation info)
overridevirtual

Merge another information object.

Reimplemented from vtkPVInformation.

◆ CopyToStream()

void vtkPVTimerInformation::CopyToStream ( vtkClientServerStream )
overridevirtual

Serialize objects to/from a stream object.

Implements vtkPVInformation.

◆ CopyFromStream()

void vtkPVTimerInformation::CopyFromStream ( const vtkClientServerStream css)
overridevirtual

Serialize objects to/from a stream object.

Reimplemented from vtkPVInformation.

◆ CopyParametersToStream()

void vtkPVTimerInformation::CopyParametersToStream ( vtkMultiProcessStream )
overridevirtual

Serialize/Deserialize the parameters that control how/what information is gathered.

This are different from the ivars that constitute the gathered information itself.

Reimplemented from vtkPVInformation.

◆ CopyParametersFromStream()

void vtkPVTimerInformation::CopyParametersFromStream ( vtkMultiProcessStream )
overridevirtual

Serialize/Deserialize the parameters that control how/what information is gathered.

This are different from the ivars that constitute the gathered information itself.

Reimplemented from vtkPVInformation.

◆ Reallocate()

void vtkPVTimerInformation::Reallocate ( int  num)
protected

◆ InsertLog()

void vtkPVTimerInformation::InsertLog ( int  id,
const char *  log 
)
protected

◆ operator=()

void vtkPVTimerInformation::operator= ( const vtkPVTimerInformation )
protecteddelete

Member Data Documentation

◆ LogThreshold

double vtkPVTimerInformation::LogThreshold
protected

Definition at line 79 of file vtkPVTimerInformation.h.

◆ NumberOfLogs

int vtkPVTimerInformation::NumberOfLogs
protected

Definition at line 80 of file vtkPVTimerInformation.h.

◆ Logs

char** vtkPVTimerInformation::Logs
protected

Definition at line 81 of file vtkPVTimerInformation.h.


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