Code Search for Developers
 
 
  

IEditorPluginDescABC.h from osgDesigner at Krugle


Show IEditorPluginDescABC.h syntax highlighted

#ifndef __IEDITORPLUGINDESCABC_H__
#define __IEDITORPLUGINDESCABC_H__ 1

#include <osgDesigner/plugins/IPluginDescABC.h>
#include <osgDesigner/plugins/IEditorPluginWidgetABC.h>


namespace osgDesigner
{
    // ** class to descript the plugin
    class IEditorPluginDescABC: public IPluginDescABC
    {
        public:
        
            typedef IEditorPluginWidgetABC      instance_type;
            typedef std::string                 key_type;
        
            virtual std::string                 key() const { return (getName()); };        
        
            IEditorPluginDescABC() : IPluginDescABC() {}
            
        protected:
            virtual ~IEditorPluginDescABC() {}

        public:            
            // ** type edited by the plugin
            virtual const std::type_info&       getEditedStdTypeInfo() const = 0;
            virtual const char*                 getEditedTypeName() const = 0;
            
            // ** Factory
            virtual IEditorPluginWidgetABC*     getNewInstance() = 0;
    };
}

#endif // ** __IEDITORPLUGINDESCABC_H__ ** //




See more files for this project here

osgDesigner

osgDesigner is a graphical tool used to modify an OpenSceneGraph (OSG) scene using the osgIntrospection framework. OpenSceneGraph developpers will be able to extend osgDesigner at need using (editor | render | osgIntrospection wrapper) plugin system.

Project homepage: http://sourceforge.net/projects/osgdesigner
Programming language(s): C++,Shell Script
License: other

  CModulePrefixSuffix.h
  DynamicLibrary.h
  IEditorPluginABC.h
  IEditorPluginDescABC.h
  IEditorPluginWidgetABC.h
  IPluginDescABC.h
  IRenderPluginABC.h
  IRenderPluginDescABC.h
  SEditorPluginManager.h
  SEditorPluginRegistry.h
  SRenderPluginManager.h
  SRenderPluginRegistry.h
  TPluginManagerProxy.h