SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
jspace::STaoTreeInfo Struct Reference
Collaboration diagram for jspace::STaoTreeInfo:
Collaboration graph
[legend]

Public Member Functions

virtual ~STaoTreeInfo ()
 
bool sort ()
 

Public Attributes

taoNodeRootroot
 
std::vector< STaoNodeInfoinfo
 

Constructor & Destructor Documentation

jspace::STaoTreeInfo::~STaoTreeInfo ( )
virtual

deletes the taoNodeRoot.

Member Function Documentation

bool jspace::STaoTreeInfo::sort ( )

Iterates over the info vector, making sure that each node sits at the position specified by its ID. Also does a sanity check afterwards, so don't ignore the return value. See also tao_consistency_check().

Returns
true if the sort succeeded (info[ii].id == id for all nodes), false if something went wrong (this happens e.g. when you have duplicate IDs or gaps in the sequence from 0..N-1).

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