RenderMan API  23.0
RixMessages Class Referenceabstract

#include <RixInterfaces.h>

Inheritance diagram for RixMessages:
RixInterface

Public Member Functions

virtual void Error (const char *format,...)=0
 Report an error, suppressing duplicate messages. More...
 
virtual void ErrorAlways (const char *format,...)=0
 Report an error, with no suppression of duplicate messages. More...
 
virtual void Warning (const char *format,...)=0
 Report a warning, suppressing duplicate messages. More...
 
virtual void WarningAlways (const char *format,...)=0
 Report a warning, with no suppression of duplicate messages. More...
 
virtual void Info (const char *format,...)=0
 Report information, suppressing duplicate messages. More...
 
virtual void InfoAlways (const char *format,...)=0
 Report information, with no suppression of duplicate messages. More...
 
- Public Member Functions inherited from RixInterface
virtual int GetVersion () const
 

Protected Member Functions

 RixMessages ()
 Constructor is for internal use only. More...
 
- Protected Member Functions inherited from RixInterface
 RixInterface (int version)
 Interfaces should not be constructed by users. More...
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users. More...
 

Additional Inherited Members

- Public Types inherited from RixInterface
enum  Type {
  k_Float, k_Integer, k_StringV, k_Color,
  k_Normal, k_Vector, k_Point, k_HPoint,
  k_MPoint, k_Matrix
}
 
- Protected Attributes inherited from RixInterface
int m_version
 Version number of this interface. More...
 

Detailed Description

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

Definition at line 240 of file RixInterfaces.h.

Constructor & Destructor Documentation

◆ RixMessages()

RixMessages::RixMessages ( )
inlineprotected

Constructor is for internal use only.

Definition at line 268 of file RixInterfaces.h.

Member Function Documentation

◆ Error()

virtual void RixMessages::Error ( const char *  format,
  ... 
)
pure virtual

Report an error, suppressing duplicate messages.

Report error/warning/info, with printf-style formatting. For example:

msgs->Error("Plugin failed, status %d", status);

◆ ErrorAlways()

virtual void RixMessages::ErrorAlways ( const char *  format,
  ... 
)
pure virtual

Report an error, with no suppression of duplicate messages.

◆ Info()

virtual void RixMessages::Info ( const char *  format,
  ... 
)
pure virtual

Report information, suppressing duplicate messages.

◆ InfoAlways()

virtual void RixMessages::InfoAlways ( const char *  format,
  ... 
)
pure virtual

Report information, with no suppression of duplicate messages.

◆ Warning()

virtual void RixMessages::Warning ( const char *  format,
  ... 
)
pure virtual

Report a warning, suppressing duplicate messages.

◆ WarningAlways()

virtual void RixMessages::WarningAlways ( const char *  format,
  ... 
)
pure virtual

Report a warning, with no suppression of duplicate messages.


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