Choreonoid  1.8
Classes | Namespaces | Macros
Plugin.h File Reference
#include "ExtensionManager.h"
#include <cnoid/Config>
#include <string>
#include "exportdecl.h"

Go to the source code of this file.

Classes

class  cnoid::Plugin
 

Namespaces

 cnoid
 

Macros

#define CNOID_IMPLEMENT_PLUGIN_ENTRY(PluginTypeName)
 

Macro Definition Documentation

◆ CNOID_IMPLEMENT_PLUGIN_ENTRY

#define CNOID_IMPLEMENT_PLUGIN_ENTRY (   PluginTypeName)
Value:
extern "C" CNOID_BASE_DLLEXPORT cnoid::Plugin* getChoreonoidPlugin() \
{ \
cnoid::Plugin* plugin = new PluginTypeName(); \
plugin->setInternalVersion(CNOID_INTERNAL_VERSION); \
return plugin; \
}
cnoid::Plugin
Definition: Plugin.h:20