Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
// ***************************************************************************
|
|
|
|
//
|
|
|
|
// Generated automatically by genwrapper.
|
|
|
|
// Please DO NOT EDIT this file!
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
|
|
#include <osgIntrospection/TypedMethodInfo>
|
2006-09-01 21:34:05 +08:00
|
|
|
#include <osgIntrospection/StaticMethodInfo>
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
|
|
|
|
#include <osgDB/DynamicLibrary>
|
|
|
|
|
2005-05-16 17:41:10 +08:00
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
#ifdef OUT
|
|
|
|
#undef OUT
|
|
|
|
#endif
|
|
|
|
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::HANDLE);
|
|
|
|
|
|
|
|
TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::PROC_ADDRESS);
|
|
|
|
|
2007-02-14 19:24:42 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osgDB::DynamicLibrary)
|
2005-05-16 17:41:10 +08:00
|
|
|
I_BaseType(osg::Referenced);
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Method0(const std::string &, getName,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__C5_std_string_R1__getName,
|
|
|
|
"return name of library stripped of path. ",
|
|
|
|
"");
|
|
|
|
I_Method0(const std::string &, getFullName,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__C5_std_string_R1__getFullName,
|
|
|
|
"return name of library including full path to it. ",
|
|
|
|
"");
|
|
|
|
I_Method0(osgDB::DynamicLibrary::HANDLE, getHandle,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__HANDLE__getHandle,
|
|
|
|
"return handle to .dso/.dll dynamic library itself. ",
|
|
|
|
"");
|
|
|
|
I_Method1(osgDB::DynamicLibrary::PROC_ADDRESS, getProcAddress, IN, const std::string &, procName,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__PROC_ADDRESS__getProcAddress__C5_std_string_R1,
|
|
|
|
"return address of function located in library. ",
|
|
|
|
"");
|
|
|
|
I_StaticMethod1(osgDB::DynamicLibrary *, loadLibrary, IN, const std::string &, libraryName,
|
|
|
|
__DynamicLibrary_P1__loadLibrary__C5_std_string_R1_S,
|
|
|
|
"returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failure. ",
|
|
|
|
"");
|
|
|
|
I_SimpleProperty(const std::string &, FullName,
|
|
|
|
__C5_std_string_R1__getFullName,
|
|
|
|
0);
|
|
|
|
I_SimpleProperty(osgDB::DynamicLibrary::HANDLE, Handle,
|
|
|
|
__HANDLE__getHandle,
|
|
|
|
0);
|
|
|
|
I_SimpleProperty(const std::string &, Name,
|
|
|
|
__C5_std_string_R1__getName,
|
|
|
|
0);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|