xvr2::DSObjectFactory Class Reference

#include <DSObject.h>

Inheritance diagram for xvr2::DSObjectFactory:

Inheritance graph
[legend]

List of all members.


Detailed Description

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)

Member Function Documentation

template<class T>
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().

Here is the call graph for this function:

template<class T>
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().

Here is the call graph for this function:

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]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Object s 
) [friend, inherited]


Member Data Documentation

std::string xvr2::Object::__cls_name [protected, inherited]

Definition at line 30 of file Object.h.


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

Generated on Fri Jun 20 22:55:53 2008 for X-VR2 SDK by  doxygen 1.5.5