#include <xvr2/Object.h>
All X-VR2 classes are derived from this guy.
Definition at line 27 of file Object.h.
Public Member Functions | |
Object () | |
Default constructor, it does nothing. | |
virtual const char * | getClassName () |
Returns the name of the current class. | |
virtual | ~Object () |
virtual std::string | toString () |
Static Public Member Functions | |
static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Will print a debug message to the screen. | |
static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Protected Attributes | |
std::string | __cls_name |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
xvr2::Object::Object | ( | ) |
Default constructor, it does nothing.
virtual xvr2::Object::~Object | ( | ) | [virtual] |
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual] |
Returns the name of the current class.
static void xvr2::Object::debugmsg | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static] |
Will print a debug message to the screen.
static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static] |
virtual std::string xvr2::Object::toString | ( | ) | [virtual] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend] |
std::string xvr2::Object::__cls_name [protected] |