#include <frame.h>
Public Member Functions | |
int | add (CFrame *newFrame) |
CFrameContainer () | |
void | checkBaseFrames () |
void | clear () |
int | compareBase (CFrame *first, CFrame *second) |
CFrame * | getFrame (unsigned int id) |
CFrame * | getFrame (const char *name) |
bool | getFrameByName (const char *name, CFrame *&frame) |
int | getFrameByName (const char *name, bool create=false) |
std::vector< CFrame * > | getFrames () |
void | invalidate (bool time=false) |
Transforms a <FRAME> (xml object) into a frame. | |
void | loadFromFile (const char *filename) |
void | loadFromFile (const char *filename, DataPairs &additionalData, CConfiguration &config, bool loadAll) |
void | resolve (std::vector< std::string > &in, std::vector< CFrame * > &out) |
bool | setBase (char *frame, char *base) |
unsigned int | size () |
void | updateBaseLinks () |
void | updateBaseLinks (std::vector< CFrame * > &frames) |
void | updateBaseLinks (CFrame *frame) |
bool | xmlToFrame (CFrame *frame, TiXmlElement *frameNode, bool create=false) |
bool | xmlToFrame (CFrame *frame, TiXmlElement *frameNode, DataPairs &additionalData, bool create=false) |
bool | xmlToFrameCombination (CFrameCombination *frame, TiXmlElement *frameNode, DataPairs &additionalData, bool create=false) |
virtual | ~CFrameContainer () |
Static Public Member Functions | |
static bool | isRelativeTo (CFrame *first, CFrame *relative) |
Public Attributes | |
std::vector< CFrame * > | frames |
robotLibPbD::CFrameContainer::CFrameContainer | ( | ) | [inline] |
virtual robotLibPbD::CFrameContainer::~CFrameContainer | ( | ) | [inline, virtual] |
int robotLibPbD::CFrameContainer::add | ( | CFrame * | newFrame | ) |
void robotLibPbD::CFrameContainer::clear | ( | ) |
int robotLibPbD::CFrameContainer::compareBase | ( | CFrame * | first, |
CFrame * | second | ||
) |
CFrame* robotLibPbD::CFrameContainer::getFrame | ( | unsigned int | id | ) | [inline] |
CFrame* robotLibPbD::CFrameContainer::getFrame | ( | const char * | name | ) | [inline] |
bool robotLibPbD::CFrameContainer::getFrameByName | ( | const char * | name, |
CFrame *& | frame | ||
) |
int robotLibPbD::CFrameContainer::getFrameByName | ( | const char * | name, |
bool | create = false |
||
) |
std::vector<CFrame*> robotLibPbD::CFrameContainer::getFrames | ( | ) | [inline] |
void robotLibPbD::CFrameContainer::invalidate | ( | bool | time = false | ) | [inline] |
bool robotLibPbD::CFrameContainer::isRelativeTo | ( | CFrame * | first, |
CFrame * | relative | ||
) | [static] |
void robotLibPbD::CFrameContainer::loadFromFile | ( | const char * | filename | ) |
void robotLibPbD::CFrameContainer::loadFromFile | ( | const char * | filename, |
DataPairs & | additionalData, | ||
CConfiguration & | config, | ||
bool | loadAll | ||
) |
void robotLibPbD::CFrameContainer::resolve | ( | std::vector< std::string > & | in, |
std::vector< CFrame * > & | out | ||
) |
bool robotLibPbD::CFrameContainer::setBase | ( | char * | frame, |
char * | base | ||
) |
unsigned int robotLibPbD::CFrameContainer::size | ( | ) | [inline] |
void robotLibPbD::CFrameContainer::updateBaseLinks | ( | std::vector< CFrame * > & | frames | ) |
void robotLibPbD::CFrameContainer::updateBaseLinks | ( | CFrame * | frame | ) |
bool robotLibPbD::CFrameContainer::xmlToFrame | ( | CFrame * | frame, |
TiXmlElement * | frameNode, | ||
bool | create = false |
||
) |
bool robotLibPbD::CFrameContainer::xmlToFrame | ( | CFrame * | frame, |
TiXmlElement * | frameNode, | ||
DataPairs & | additionalData, | ||
bool | create = false |
||
) |
bool robotLibPbD::CFrameContainer::xmlToFrameCombination | ( | CFrameCombination * | frame, |
TiXmlElement * | frameNode, | ||
DataPairs & | additionalData, | ||
bool | create = false |
||
) |
std::vector<CFrame*> robotLibPbD::CFrameContainer::frames |