Go to the documentation of this file.
15#ifndef OSGMANIPULATOR_EXPORT_
16#define OSGMANIPULATOR_EXPORT_ 1
18#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
19 # if defined( OSG_LIBRARY_STATIC )
20 # define OSGMANIPULATOR_EXPORT
21 # elif defined( OSGMANIPULATOR_LIBRARY )
22 # define OSGMANIPULATOR_EXPORT __declspec(dllexport)
24 # define OSGMANIPULATOR_EXPORT __declspec(dllimport)
27 # define OSGMANIPULATOR_EXPORT
30#define META_OSGMANIPULATOR_Object(library,name) \
31virtual osg::Object* cloneType() const { return new name (); } \
32virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const name *>(obj)!=NULL; } \
33virtual const char* libraryName() const { return #library; }\
34virtual const char* className() const { return #name; }