Public Member Functions | Private Member Functions | Private Attributes
GraspTable Class Reference

#include <GraspTable.h>

List of all members.

Public Member Functions

void AddGraspTableObject (GraspTableObject *graspTableObject)
GraspGetGrasp (unsigned int object_class_id, unsigned int &grasp_id)
GraspGetNextGrasp (unsigned int object_class_id)
 GraspTable ()
int Init (char *iniFile, unsigned int table_size=MAX_NO_OF_OBJECTS)
void ResetReadPtr (unsigned int object_class_id)

Private Member Functions

void ReadDoubleValue (TiXmlElement *xml, const char *tag, double *value)
int ReadFromFile (const char *filename, GraspTableObject *tableObject)
void ReadJoint (TiXmlElement *xml, const char *tag, std::vector< double > &values)
void ReadPose (TiXmlElement *xml, const char *tag, std::vector< double > &values)

Private Attributes

std::vector< GraspTableObject * > m_GraspTable
unsigned int m_lastObjectClassId

Detailed Description

Definition at line 108 of file GraspTable.h.


Constructor & Destructor Documentation

GraspTable::GraspTable ( ) [inline]

Definition at line 111 of file GraspTable.h.


Member Function Documentation

void GraspTable::AddGraspTableObject ( GraspTableObject graspTableObject)

Definition at line 169 of file GraspTable.cpp.

Grasp * GraspTable::GetGrasp ( unsigned int  object_class_id,
unsigned int &  grasp_id 
)

Definition at line 206 of file GraspTable.cpp.

Grasp * GraspTable::GetNextGrasp ( unsigned int  object_class_id)

Definition at line 183 of file GraspTable.cpp.

int GraspTable::Init ( char *  iniFile,
unsigned int  table_size = MAX_NO_OF_OBJECTS 
)

Definition at line 124 of file GraspTable.cpp.

void GraspTable::ReadDoubleValue ( TiXmlElement *  xml,
const char *  tag,
double *  value 
) [private]

Definition at line 21 of file GraspTable.cpp.

int GraspTable::ReadFromFile ( const char *  filename,
GraspTableObject tableObject 
) [private]

Definition at line 64 of file GraspTable.cpp.

void GraspTable::ReadJoint ( TiXmlElement *  xml,
const char *  tag,
std::vector< double > &  values 
) [private]

Definition at line 28 of file GraspTable.cpp.

void GraspTable::ReadPose ( TiXmlElement *  xml,
const char *  tag,
std::vector< double > &  values 
) [private]

Definition at line 51 of file GraspTable.cpp.

void GraspTable::ResetReadPtr ( unsigned int  object_class_id)

Definition at line 198 of file GraspTable.cpp.


Member Data Documentation

std::vector<GraspTableObject*> GraspTable::m_GraspTable [private]

Definition at line 126 of file GraspTable.h.

unsigned int GraspTable::m_lastObjectClassId [private]

Definition at line 127 of file GraspTable.h.


The documentation for this class was generated from the following files:


cob_pick_place_action
Author(s): Felix Messmer
autogenerated on Thu Jun 6 2019 21:23:15