Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapeRoot Class Reference#include <ShapeRoot.h>
Inheritance diagram for ShapeRoot:
![]() Detailed DescriptionParent class for all Shape<xxxData> objects.Shape<T> points to data objects of type T within a ShapeSpace, e.g., Shape<LineData> points to a LineData object. Creating a Shape registers the data object in the ShapeSpace and sets the refcount to 1. Copying a shape increments the refcount, and deleting a shape decrements it. If refcount goes to zero we delete the data object. If the user calls deleteShape on a Shape, we remove the shape from the ShapeSpace but don't actually delete it until the reference count goes to zero. Definition at line 26 of file ShapeRoot.h.
Constructor & Destructor Documentation
Construct a dummy ShapeRoot, e.g., so we can assign into it, or return it as an indicator of an invalid or failure result. Definition at line 37 of file ShapeRoot.h.
Definition at line 35 of file ShapeRoot.cc.
Member Function Documentation
Definition at line 40 of file ShapeRoot.cc.
Definition at line 45 of file ShapeRoot.cc. Referenced by ShapeRoot::getData(), ShapeRoot::getSpace(), and ShapeRoot::operator->().
Definition at line 51 of file ShapeRoot.h. Referenced by MapBuilder::defineGazePts(), ShapeSpace::deleteShape(), ShapeRoot::deleteShape(), MapBuilder::executeRequest(), MapBuilder::getCameraShapes(), MapBuilderRequest::immediateRequest(), PFShapeDistributionPolicy::jiggle(), DualCoding::operator<<(), ShapeRoot::operator==(), PFShapeDistributionPolicy::randomize(), ShapeRoot::sanity_check(), Lookout::setupScan(), and PFShapeDistributionPolicy::setWorldBounds().
Definition at line 55 of file ShapeRoot.h.
Definition at line 55 of file ShapeRoot.cc.
Definition at line 60 of file ShapeRoot.cc.
Definition at line 64 of file ShapeRoot.h. Referenced by PathPlanner::addLandmark(), and DualCoding::operator<<().
Definition at line 70 of file ShapeRoot.cc. Shape comparison. Invalid shapes are considered equal.
Definition at line 75 of file ShapeRoot.cc. Referenced by ShapeRoot::operator!=().
Definition at line 25 of file ShapeRoot.cc.
Definition at line 80 of file ShapeRoot.h.
Friends And Related Function Documentation
Definition at line 31 of file ShapeRoot.h.
Definition at line 85 of file ShapeRoot.cc.
Member Data Documentation
Definition at line 28 of file ShapeRoot.h. Referenced by ShapeSpace::deleteShape(), ShapeRoot::getId(), ShapeSpace::importShape(), DualCoding::operator<<(), ShapeRoot::operator=(), ShapeRoot::operator==(), and ShapeRoot::setInvalid().
Definition at line 29 of file ShapeRoot.h. Referenced by ShapeRoot::deleteShape(), ShapeRoot::getData(), ShapeRoot::getSpace(), ShapeRoot::isValid(), ShapeRoot::operator->(), DualCoding::operator<<(), ShapeRoot::operator=(), ShapeRoot::sanity_check(), ShapeRoot::ShapeRoot(), and ShapeRoot::~ShapeRoot().
The documentation for this class was generated from the following files: |
DualCoding 4.0 |
Generated Thu Nov 22 00:54:05 2007 by Doxygen 1.5.4 |