openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
構成 | Public メソッド | Static Public メソッド | Protected メソッド | Static Protected メソッド | フレンド | すべてのメンバ一覧
クラス OpenRAVE::RaveGlobal
OpenRAVE::RaveGlobalに対する継承グラフ
Inheritance graph
[凡例]
OpenRAVE::RaveGlobalのコラボレーション図
Collaboration graph
[凡例]

構成

class  XMLReaderFunctionData
 

Public メソッド

virtual ~RaveGlobal ()
 
int Initialize (bool bLoadAllPlugins, int level)
 
void Destroy ()
 
void AddCallbackForDestroy (const boost::function< void()> &fn)
 
std::string GetHomeDirectory ()
 
std::string FindDatabaseFile (const std::string &filename, bool bRead)
 
void SetDebugLevel (int level)
 
int GetDebugLevel ()
 
UserDataPtr RegisterXMLReader (InterfaceType type, const std::string &xmltag, const CreateXMLReaderFn &fn)
 
const BaseXMLReaderPtr CallXMLReader (InterfaceType type, const std::string &xmltag, InterfaceBasePtr pinterface, const AttributesList &atts)
 
boost::shared_ptr< RaveDatabase > GetDatabase () const
 
const std::map< InterfaceType,
std::string > & 
GetInterfaceNamesMap () const
 
const std::map
< IkParameterizationType,
std::string > & 
GetIkParameterizationMap (int alllowercase=0)
 
const std::string & GetInterfaceName (InterfaceType type)
 
int RegisterEnvironment (EnvironmentBase *penv)
 
void UnregisterEnvironment (EnvironmentBase *penv)
 
int GetEnvironmentId (EnvironmentBasePtr penv)
 
EnvironmentBasePtr GetEnvironment (int id)
 
void GetEnvironments (std::list< EnvironmentBasePtr > &listenvironments)
 
SpaceSamplerBasePtr GetDefaultSampler ()
 
std::string FindLocalFile (const std::string &_filename, const std::string &curdir)
 
bool InvertFileLookup (std::string &newfilename, const std::string &filename)
 
void SetDataAccess (int options)
 
int GetDataAccess ()
 
- Public メソッド inherited from OpenRAVE::UserData
virtual ~UserData ()
 

Static Public メソッド

static boost::shared_ptr
< RaveGlobal > & 
instance ()
 

Protected メソッド

bool _IsInitialized () const
 
void _UpdateDataDirs ()
 

Static Protected メソッド

static void _create ()
 

フレンド

void RaveInitializeFromState (UserDataPtr)
 Initializes the global state from an already loaded OpenRAVE environment.
 
UserDataPtr RaveGlobalState ()
 A pointer to the global openrave state.
 

説明

there is only once global openrave state. It is created when openrave is first used, and destroyed when the program quits or RaveDestroy is called.

libopenrave.cpp304 行で定義されています。

コンストラクタとデストラクタ

virtual OpenRAVE::RaveGlobal::~RaveGlobal ( )
inlinevirtual

libopenrave.cpp356 行で定義されています。

関数

static void OpenRAVE::RaveGlobal::_create ( )
inlinestaticprotected

libopenrave.cpp716 行で定義されています。

bool OpenRAVE::RaveGlobal::_IsInitialized ( ) const
inlineprotected

libopenrave.cpp723 行で定義されています。

void OpenRAVE::RaveGlobal::_UpdateDataDirs ( )
inlineprotected

libopenrave.cpp727 行で定義されています。

void OpenRAVE::RaveGlobal::AddCallbackForDestroy ( const boost::function< void()> &  fn)
inline

libopenrave.cpp466 行で定義されています。

const BaseXMLReaderPtr OpenRAVE::RaveGlobal::CallXMLReader ( InterfaceType  type,
const std::string &  xmltag,
InterfaceBasePtr  pinterface,
const AttributesList atts 
)
inline

libopenrave.cpp538 行で定義されています。

void OpenRAVE::RaveGlobal::Destroy ( )
inline

libopenrave.cpp422 行で定義されています。

std::string OpenRAVE::RaveGlobal::FindDatabaseFile ( const std::string &  filename,
bool  bRead 
)
inline

libopenrave.cpp477 行で定義されています。

std::string OpenRAVE::RaveGlobal::FindLocalFile ( const std::string &  _filename,
const std::string &  curdir 
)
inline

libopenrave.cpp633 行で定義されています。

int OpenRAVE::RaveGlobal::GetDataAccess ( )
inline

libopenrave.cpp710 行で定義されています。

boost::shared_ptr<RaveDatabase> OpenRAVE::RaveGlobal::GetDatabase ( ) const
inline

libopenrave.cpp548 行で定義されています。

int OpenRAVE::RaveGlobal::GetDebugLevel ( )
inline

libopenrave.cpp504 行で定義されています。

SpaceSamplerBasePtr OpenRAVE::RaveGlobal::GetDefaultSampler ( )
inline

libopenrave.cpp623 行で定義されています。

EnvironmentBasePtr OpenRAVE::RaveGlobal::GetEnvironment ( int  id)
inline

libopenrave.cpp601 行で定義されています。

int OpenRAVE::RaveGlobal::GetEnvironmentId ( EnvironmentBasePtr  penv)
inline

libopenrave.cpp590 行で定義されています。

void OpenRAVE::RaveGlobal::GetEnvironments ( std::list< EnvironmentBasePtr > &  listenvironments)
inline

libopenrave.cpp611 行で定義されています。

std::string OpenRAVE::RaveGlobal::GetHomeDirectory ( )
inline

libopenrave.cpp472 行で定義されています。

const std::map<IkParameterizationType,std::string>& OpenRAVE::RaveGlobal::GetIkParameterizationMap ( int  alllowercase = 0)
inline

libopenrave.cpp554 行で定義されています。

const std::string& OpenRAVE::RaveGlobal::GetInterfaceName ( InterfaceType  type)
inline

libopenrave.cpp561 行で定義されています。

const std::map<InterfaceType,std::string>& OpenRAVE::RaveGlobal::GetInterfaceNamesMap ( ) const
inline

libopenrave.cpp551 行で定義されています。

int OpenRAVE::RaveGlobal::Initialize ( bool  bLoadAllPlugins,
int  level 
)
inline

libopenrave.cpp366 行で定義されています。

static boost::shared_ptr<RaveGlobal>& OpenRAVE::RaveGlobal::instance ( )
inlinestatic

libopenrave.cpp360 行で定義されています。

bool OpenRAVE::RaveGlobal::InvertFileLookup ( std::string &  newfilename,
const std::string &  filename 
)
inline

libopenrave.cpp677 行で定義されています。

int OpenRAVE::RaveGlobal::RegisterEnvironment ( EnvironmentBase penv)
inline

libopenrave.cpp571 行で定義されています。

UserDataPtr OpenRAVE::RaveGlobal::RegisterXMLReader ( InterfaceType  type,
const std::string &  xmltag,
const CreateXMLReaderFn fn 
)
inline

libopenrave.cpp533 行で定義されています。

void OpenRAVE::RaveGlobal::SetDataAccess ( int  options)
inline

libopenrave.cpp706 行で定義されています。

void OpenRAVE::RaveGlobal::SetDebugLevel ( int  level)
inline

libopenrave.cpp499 行で定義されています。

void OpenRAVE::RaveGlobal::UnregisterEnvironment ( EnvironmentBase penv)
inline

libopenrave.cpp579 行で定義されています。

フレンドと関連する関数

UserDataPtr RaveGlobalState ( )
friend

A pointer to the global openrave state.

戻り値
a managed pointer to the state.
void RaveInitializeFromState ( UserDataPtr  globalstate)
friend

Initializes the global state from an already loaded OpenRAVE environment.

Because of shared object boundaries, it is necessary to pass the global state pointer around. If using plugin.h, this function is automatically called by CreateInterfaceValidated. It is also called by and every InterfaceBase constructor.

引数
[in]globalstate

このクラスの説明は次のファイルから生成されました: