openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
Public メソッド | Protected 変数 | すべてのメンバ一覧
クラス OpenRAVE::xmlreaders::TrajectoryReader

create a xml parser for trajectories [詳細]

#include <xmlreaders.h>

OpenRAVE::xmlreaders::TrajectoryReaderに対する継承グラフ
Inheritance graph
[凡例]
OpenRAVE::xmlreaders::TrajectoryReaderのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 TrajectoryReader (EnvironmentBasePtr env, TrajectoryBasePtr traj=TrajectoryBasePtr(), const AttributesList &atts=AttributesList())
 
virtual ProcessElement startElement (const std::string &name, const AttributesList &atts)
 
virtual bool endElement (const std::string &name)
 
virtual void characters (const std::string &ch)
 
TrajectoryBasePtr GetTrajectory () const
 
- Public メソッド inherited from OpenRAVE::BaseXMLReader
 BaseXMLReader ()
 
virtual ~BaseXMLReader ()
 
virtual XMLReadablePtr GetReadable ()
 

Protected 変数

TrajectoryBasePtr _ptraj
 
std::stringstream _ss
 
ConfigurationSpecification _spec
 
BaseXMLReaderPtr _pcurreader
 
int _datacount
 
std::vector< dReal_vdata
 
bool _bInReadable
 

Additional Inherited Members

- Public 型 inherited from OpenRAVE::BaseXMLReader
enum  ProcessElement { PE_Pass =0, PE_Support =1, PE_Ignore =2 }
 
- Public 変数 inherited from OpenRAVE::BaseXMLReader
std::string _filename
 XML filename/resource used for this class (can be empty)
 

説明

create a xml parser for trajectories

xmlreaders.h59 行で定義されています。

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

OpenRAVE::xmlreaders::TrajectoryReader::TrajectoryReader ( EnvironmentBasePtr  env,
TrajectoryBasePtr  traj = TrajectoryBasePtr(),
const AttributesList atts = AttributesList() 
)
引数
envthe environment used to create the trajectory
trajcan optionally pass a trajectory to initialize if need to read into an existing trajectory, but the pointer can be empty
attsattributes passed from <trajectory> tag

関数

virtual void OpenRAVE::xmlreaders::TrajectoryReader::characters ( const std::string &  ch)
virtual

gets called for all data in between tags.

引数
cha string to the data

OpenRAVE::BaseXMLReaderを実装しています。

virtual bool OpenRAVE::xmlreaders::TrajectoryReader::endElement ( const std::string &  name)
virtual

Gets called at the end of each "</type>" expression. In this case, name is "type"

引数
nameof the tag, will be always lower case
戻り値
true if XMLReader has finished parsing (one condition is that name==_fieldname) , otherwise false

OpenRAVE::BaseXMLReaderを実装しています。

TrajectoryBasePtr OpenRAVE::xmlreaders::TrajectoryReader::GetTrajectory ( ) const
inline

xmlreaders.h70 行で定義されています。

virtual ProcessElement OpenRAVE::xmlreaders::TrajectoryReader::startElement ( const std::string &  name,
const AttributesList atts 
)
virtual

Gets called in the beginning of each "<type>" expression. In this case, name is "type"

引数
nameof the tag, will be always lower case
attsstring of attributes where the first std::string is the attribute name and second is the value
戻り値
true if tag is accepted and this class will process it, otherwise false

OpenRAVE::BaseXMLReaderを実装しています。

変数

bool OpenRAVE::xmlreaders::TrajectoryReader::_bInReadable
protected

xmlreaders.h81 行で定義されています。

int OpenRAVE::xmlreaders::TrajectoryReader::_datacount
protected

xmlreaders.h79 行で定義されています。

BaseXMLReaderPtr OpenRAVE::xmlreaders::TrajectoryReader::_pcurreader
protected

xmlreaders.h78 行で定義されています。

TrajectoryBasePtr OpenRAVE::xmlreaders::TrajectoryReader::_ptraj
protected

xmlreaders.h75 行で定義されています。

ConfigurationSpecification OpenRAVE::xmlreaders::TrajectoryReader::_spec
protected

xmlreaders.h77 行で定義されています。

std::stringstream OpenRAVE::xmlreaders::TrajectoryReader::_ss
protected

xmlreaders.h76 行で定義されています。

std::vector<dReal> OpenRAVE::xmlreaders::TrajectoryReader::_vdata
protected

xmlreaders.h80 行で定義されています。


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