Code Search for Developers
 
 
  

IPluginDescABC.h from osgDesigner at Krugle


Show IPluginDescABC.h syntax highlighted

#ifndef __IPLUGINDESCABC_H__
#define __IPLUGINDESCABC_H__ 1

#include <string>
#include <sstream>
#include <osg/Referenced>

namespace osgDesigner
{
    class IPluginDescABC : public osg::Referenced
    {
        public:
            IPluginDescABC() : osg::Referenced() {}
            
        protected:
            virtual ~IPluginDescABC() {}

        public:
            virtual const char *            getVersion() const = 0;
            virtual const char *            getAuthor() const = 0;
            virtual const char *            getDescription() const = 0;
            virtual const char *            getName() const = 0;
        
        
            std::string                     getDesc()
            {
                std::stringstream ss;
                ss << "Plugin Description :\n";
                ss << "                     Name        : " << getName() << "\n";
                ss << "                     Author      : " << getAuthor() << "\n";
                ss << "                     Version     : " << getVersion() << "\n";
                ss << "                     Description : " << getDescription() << "\n";
                
                return (ss.str());
            }
    };
}

#endif // ** __IPLUGINDESCABC_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