RixMessages Class Reference

An object that can be used to print warnings, errors, or info in a thread safe way from within the renderer. More...

#include <RixInterfaces.h>

Inheritance diagram for RixMessages:

RixInterface List of all members.

Public Member Functions

virtual void Error (const char *format,...)=0
 Report an error, with printf-style formatting.
virtual void ErrorAlways (const char *format,...)=0
 Report an error, with no suppression of duplicate messages.
virtual void Warning (const char *format,...)=0
 Report a warning, suppressing duplicate messages.
virtual void WarningAlways (const char *format,...)=0
 Report a warning, with no suppression of duplicate messages.
virtual void Info (const char *format,...)=0
 Report information, suppressing duplicate messages.
virtual void InfoAlways (const char *format,...)=0
 Report information, with no suppression of duplicate messages.
virtual int GetVersion () const
 Get the version number of this interface.

Protected Member Functions

 RixMessages ()
 Constructor is for internal use only.

Protected Attributes

int m_version
 Version number of this interface.

Detailed Description

An object that can be used to print warnings, errors, or info in a thread safe way from within the renderer.


Constructor & Destructor Documentation

RixMessages::RixMessages  )  [inline, protected]
 

Constructor is for internal use only.


Member Function Documentation

virtual void RixMessages::Error const char *  format,
  ...
[pure virtual]
 

Report an error, with printf-style formatting.

For example:

            ReportError("Plugin failed, status %d", status);
Duplicate error messages are suppressed.

virtual void RixMessages::ErrorAlways const char *  format,
  ...
[pure virtual]
 

Report an error, with no suppression of duplicate messages.

virtual int RixInterface::GetVersion  )  const [inline, virtual, inherited]
 

Get the version number of this interface.

Different interfaces might have different version numbers in a given release.

virtual void RixMessages::Info const char *  format,
  ...
[pure virtual]
 

Report information, suppressing duplicate messages.

virtual void RixMessages::InfoAlways const char *  format,
  ...
[pure virtual]
 

Report information, with no suppression of duplicate messages.

virtual void RixMessages::Warning const char *  format,
  ...
[pure virtual]
 

Report a warning, suppressing duplicate messages.

virtual void RixMessages::WarningAlways const char *  format,
  ...
[pure virtual]
 

Report a warning, with no suppression of duplicate messages.


Member Data Documentation

int RixInterface::m_version [protected, inherited]
 

Version number of this interface.


The documentation for this class was generated from the following file:
Generated on Wed May 10 11:00:40 2006 for PRManHeaders by  doxygen 1.4.6