vtkbone
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkboneErrorWarningObserver Class Reference

a simple observer to catch VTK warnings and errors. More...

#include <vtkboneErrorWarningObserver.h>

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

Public Member Functions

void Modified ()
 
virtual void Execute (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual int ErrorOccurred ()
 
virtual int WarningOccurred ()
 
virtual void Reset ()
 
virtual int GetDebug ()
 
virtual void SetErrorDescriptions (const char *)
 
virtual char * GetErrorDescriptions ()
 
virtual void AppendErrorDescriptions (const char *newMsg)
 
virtual void SetWarningDescriptions (const char *)
 
virtual char * GetWarningDescriptions ()
 
virtual void AppendWarningDescriptions (const char *newMsg)
 
- Public Member Functions inherited from vtkCommand
 vtkBaseTypeMacro (vtkCommand, vtkObjectBase)
 
void UnRegister ()
 
virtual void UnRegister (vtkObjectBase *)
 
void SetAbortFlag (int f)
 
int GetAbortFlag ()
 
void AbortFlagOn ()
 
void AbortFlagOff ()
 
void SetPassiveObserver (int f)
 
int GetPassiveObserver ()
 
void PassiveObserverOn ()
 
void PassiveObserverOff ()
 
void UnRegister ()
 
virtual void UnRegister (vtkObjectBase *)
 
void SetAbortFlag (int f)
 
int GetAbortFlag ()
 
void AbortFlagOn ()
 
void AbortFlagOff ()
 
void SetPassiveObserver (int f)
 
int GetPassiveObserver ()
 
void PassiveObserverOn ()
 
void PassiveObserverOff ()
 
 vtkCommand ()
 
virtual ~vtkCommand ()
 
 vtkCommand (const vtkCommand &c)
 
void operator= (const vtkCommand &)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual vtkTypeBool IsA (const char *name)
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkboneErrorWarningObserverNew ()
 
- Static Public Member Functions inherited from vtkCommand
static const char * GetStringFromEventId (unsigned long event)
 
static unsigned long GetEventIdFromString (const char *event)
 
static const char * GetStringFromEventId (unsigned long event)
 
static unsigned long GetEventIdFromString (const char *event)
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkboneErrorWarningObserver ()
 
 ~vtkboneErrorWarningObserver ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

char * ErrorDescriptions
 
char * WarningDescriptions
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkCommand
vtkEventDeclarationMacro(EventIds) protected int PassiveObserver
 

Detailed Description

a simple observer to catch VTK warnings and errors.

This class takes no action except to save the description of the error so that it can be retreived later.

Definition at line 28 of file vtkboneErrorWarningObserver.h.

Constructor & Destructor Documentation

vtkboneErrorWarningObserver::vtkboneErrorWarningObserver ( )
protected
vtkboneErrorWarningObserver::~vtkboneErrorWarningObserver ( )
protected

Member Function Documentation

static vtkboneErrorWarningObserver* vtkboneErrorWarningObserver::New ( void  )
inlinestatic

Definition at line 31 of file vtkboneErrorWarningObserver.h.

void vtkboneErrorWarningObserver::Modified ( )
inline

Definition at line 35 of file vtkboneErrorWarningObserver.h.

virtual void vtkboneErrorWarningObserver::Execute ( vtkObject caller,
unsigned long  eventId,
void *  callData 
)
virtual

Implements vtkCommand.

virtual void vtkboneErrorWarningObserver::SetErrorDescriptions ( const char *  )
virtual

Set/Get error descriptions.

virtual char* vtkboneErrorWarningObserver::GetErrorDescriptions ( )
virtual

Set/Get error descriptions.

virtual void vtkboneErrorWarningObserver::AppendErrorDescriptions ( const char *  newMsg)
virtual

Set/Get error descriptions.

virtual void vtkboneErrorWarningObserver::SetWarningDescriptions ( const char *  )
virtual

Set/Get warning descriptions.

virtual char* vtkboneErrorWarningObserver::GetWarningDescriptions ( )
virtual

Set/Get warning descriptions.

virtual void vtkboneErrorWarningObserver::AppendWarningDescriptions ( const char *  newMsg)
virtual

Set/Get warning descriptions.

virtual int vtkboneErrorWarningObserver::ErrorOccurred ( )
virtual

Returns 1 if error occurred.

virtual int vtkboneErrorWarningObserver::WarningOccurred ( )
virtual

Returns 1 if warning occurred.

virtual void vtkboneErrorWarningObserver::Reset ( )
virtual

Clears stored error and warnings.

virtual int vtkboneErrorWarningObserver::GetDebug ( )
inlinevirtual

Definition at line 63 of file vtkboneErrorWarningObserver.h.

Member Data Documentation

char* vtkboneErrorWarningObserver::ErrorDescriptions
protected

Definition at line 69 of file vtkboneErrorWarningObserver.h.

char* vtkboneErrorWarningObserver::WarningDescriptions
protected

Definition at line 70 of file vtkboneErrorWarningObserver.h.


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