#include <DSObject.h>
Definition at line 27 of file DSObject.h.
Public Member Functions | |
virtual const char * | getClassName () |
Returns the name of the current class. | |
virtual std::string | toString () |
Static Public Member Functions | |
template<class T> | |
static T * | create (DSO *dso, const String &createfuncname="__xvr2_create_dsobject") |
template<class T> | |
static void | destroy (DSO *dso, T *obj, const String &destroyfuncname="__xvr2_destroy_dsobject") |
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) |
static T* xvr2::DSObjectFactory::create | ( | DSO * | dso, | |
const String & | createfuncname = "__xvr2_create_dsobject" | |||
) | [inline, static] |
Definition at line 32 of file DSObject.h.
References xvr2::DSO::getSymbol().
static void xvr2::DSObjectFactory::destroy | ( | DSO * | dso, | |
T * | obj, | |||
const String & | destroyfuncname = "__xvr2_destroy_dsobject" | |||
) | [inline, static] |
Definition at line 40 of file DSObject.h.
References xvr2::DSO::getSymbol().
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual, inherited] |
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, inherited] |
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, inherited] |
virtual std::string xvr2::Object::toString | ( | ) | [virtual, inherited] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
std::string xvr2::Object::__cls_name [protected, inherited] |