openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
マクロ定義 | 関数
plugin.h

(2013-03-18 10:33:00 +0900, commit:334d202)

Provides helper functions for creating plugins. Defines all the necessary functions to export. [詳細]

#include <openrave/openrave.h>
#include <boost/format.hpp>
plugin.hのインクルード依存関係図
このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

マクロ定義

#define OPENRAVE_PLUGIN_API   extern "C" OPENRAVE_HELPER_DLL_EXPORT
 
#define RAVE_PLUGIN_API   OPENRAVE_PLUGIN_API
 

関数

OpenRAVE::InterfaceBasePtr CreateInterfaceValidated (OpenRAVE::InterfaceType type, const std::string &name, std::istream &sinput, OpenRAVE::EnvironmentBasePtr penv)
 [helper] Validated function callback for creating an interface function. No checks need to be made on the parmaeters.
 
void GetPluginAttributesValidated (OpenRAVE::PLUGININFO &info)
 [helper] Validated function callback for returning a plugin's information. No checks need to be made on the parmaeters.
 
OPENRAVE_PLUGIN_API
OpenRAVE::InterfaceBasePtr 
OpenRAVECreateInterface (OpenRAVE::InterfaceType type, const std::string &name, const char *interfacehash, const char *envhash, OpenRAVE::EnvironmentBasePtr penv)
 [export] Definition of a plugin export. Requires CreateInterfaceValidated to be defined.
 
OPENRAVE_PLUGIN_API void OpenRAVEGetPluginAttributes (OpenRAVE::PLUGININFO *pinfo, int size, const char *infohash)
 [export] Definition of a plugin export. Requires GetPluginAttributesValidated to be defined.
 
OPENRAVE_PLUGIN_API void DestroyPlugin ()
 [export] Stub function to be defined by plugin that includes rave/plugin.h.
 

説明

Provides helper functions for creating plugins. Defines all the necessary functions to export.

This file is optional and not automatically included with openrave.h

plugin.h で定義されています。

マクロ定義

#define OPENRAVE_PLUGIN_API   extern "C" OPENRAVE_HELPER_DLL_EXPORT
例:
customreader.cpp, と plugincpp.cpp.

plugin.h29 行で定義されています。

#define RAVE_PLUGIN_API   OPENRAVE_PLUGIN_API
非推奨:

plugin.h32 行で定義されています。