Public Member Functions | |
Vertex () | |
Vertex (const Vertex &v) | |
virtual | ~Vertex () |
virtual String | className () const |
virtual Object & | clone () const |
Vertex & | operator= (const Vertex &v) |
const Point3 & | coordinate () const |
bool | operator== (const Vertex &v) const |
bool | operator!= (const Vertex &v) const |
EdgeList::const_iterator_const | edges_begin () const |
EdgeList::const_iterator_const | edges_end () const |
EdgeList::const_iterator | edges_begin () |
EdgeList::const_iterator | edges_end () |
virtual void | serialize (base::Serializer &s) |
read or write object state to Serializer | |
virtual bool | isSameKindAs (const ReferencedObject &) const |
virtual bool | isSameKindAs (const Object &) const |
void | reference () const |
bool | unreference () const |
const int | referenceCount () const |
void | enableOnUnreferenceCall (bool enabled) |
virtual void | onUnreference () const |
Static Public Member Functions | |
template<class BaseClass, class DerivedClass> void | registerSerializableInstantiator (const SerializableInstantiator &instantiator) |
void | registerSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName, const SerializableInstantiator &instantiator) |
template<class BaseClass> const SerializableInstantiator & | getSerializableInstantiator (const String &derivedClassTypeName) |
const SerializableInstantiator & | getSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName) |
void * | operator new (std::size_t size) |
void | operator delete (void *p, std::size_t size) |
Protected Member Functions | |
Vertex (const Point3 &p) | |
Protected Attributes | |
Point3 | coord |
EdgeList | edges |
int | _refCount |
bool | onUnreferenceEnabled |
Friends | |
class | Polyhedron |
|
Definition at line 72 of file Polyhedron. Referenced by clone(). |
|
Definition at line 73 of file Polyhedron. |
|
Definition at line 75 of file Polyhedron. |
|
Definition at line 101 of file Polyhedron. References coord, and base::Point3. |
|
return the name of the object's class type. Must be defined by derived classes. Implements base::Object. Definition at line 77 of file Polyhedron. |
|
Definition at line 78 of file Polyhedron. |
|
Definition at line 83 of file Polyhedron. References coord, and base::Point3. |
|
Definition at line 92 of file Polyhedron. References base::reflist< _Tp, _Alloc >::begin(), and edges. |
|
Definition at line 89 of file Polyhedron. References base::reflist< _Tp, _Alloc >::const_begin(), and edges. |
|
Definition at line 93 of file Polyhedron. References edges, and base::reflist< _Tp, _Alloc >::end(). |
|
Definition at line 90 of file Polyhedron. References base::reflist< _Tp, _Alloc >::const_end(), and edges. |
|
If enabled, each call to unreference() will also call virtual method onUnreference() Definition at line 115 of file Referenced. References base::Referenced::onUnreferenceEnabled. |
|
|
|
Definition at line 71 of file Serializable. References base::String. |
|
|
|
Definition at line 52 of file ReferencedObject. |
|
Called by unreference() if enabled via enableOnUnreferenceCall(true). Typically overridden in subclasses that wish to know about unreference() calls - for example to handle manually breaking cyclic references Reimplemented in robot::control::ControllableAdaptor::AdaptorControlInterface, and robot::control::ControllableAdaptor. Definition at line 121 of file Referenced. Referenced by base::Referenced::unreference(). |
|
|
|
Definition at line 188 of file SmallObj. References operator new(). |
|
Definition at line 87 of file Polyhedron. |
|
Definition at line 80 of file Polyhedron. |
|
Definition at line 86 of file Polyhedron. |
|
Increment the reference count by one, indicating that this object has another pointer which is referencing it. Definition at line 65 of file Referenced. References base::Referenced::_refCount. |
|
Return the number pointers currently referencing this object. Definition at line 112 of file Referenced. References base::Referenced::_refCount. Referenced by robot::control::ControllableAdaptor::AdaptorControlInterface::onUnreference(). |
|
|
|
Definition at line 62 of file Serializable. |
|
read or write object state to Serializer
Implements base::Serializable. Definition at line 95 of file Polyhedron. References coord, edges, base::Vector3::x, base::Vector3::y, and base::Vector3::z. |
|
Decrement the reference count by one, indicating that a pointer to this object is referencing it. If the refence count goes to zero, it is assumed that this object is nolonger referenced and is automatically deleted. Definition at line 81 of file Referenced. References base::Referenced::_refCount, Exception, base::Referenced::onUnreference(), and base::Referenced::onUnreferenceEnabled. |
|
Definition at line 106 of file Polyhedron. |
|
Definition at line 136 of file Referenced. Referenced by base::Referenced::reference(), base::Referenced::referenceCount(), base::Referenced::Referenced(), base::Referenced::unreference(), and base::Referenced::~Referenced(). |
|
Definition at line 103 of file Polyhedron. Referenced by coordinate(), operator=(), serialize(), and Vertex(). |
|
Definition at line 104 of file Polyhedron. Referenced by edges_begin(), edges_end(), operator=(), serialize(), and Vertex(). |
|
Definition at line 137 of file Referenced. Referenced by base::Referenced::enableOnUnreferenceCall(), base::Referenced::Referenced(), and base::Referenced::unreference(). |