Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SharedObjectBase Class Reference#include <SharedObject.h>
Inheritance diagram for SharedObjectBase:
![]() Detailed DescriptionIt's nice to have a parent class of SharedObject (which is what you probably want to be reading) so that you can pass around the data structure without worrying about what type is inside the shared memory region.See MotionManager for an example on how to use this. Definition at line 10 of file SharedObject.h.
Constructor & Destructor Documentation
constructor, protected because you shouldn't need to create this directly, just a common interface to all templates of SharedObject
Definition at line 24 of file SharedObject.h.
copy constructor, adds a reference to the existing region (shallow copy)
Definition at line 26 of file SharedObject.h.
Member Function Documentation
returns a pointer to the data region
Definition at line 12 of file SharedObject.h. Referenced by SharedObject< UPennWalkMC >::dataCasted(), and MotionManager::doAddMotion().
returns the OPEN-R memory region, should you need it
Definition at line 13 of file SharedObject.h. Referenced by MotionManager::doAddMotion(), and MotionManager::removeMotion().
return the next region serial number -- doesn't actually increment it though, repeated calls will return the same value until the value is actually used
Definition at line 19 of file SharedObject.h.
assignment, adds a reference to the existing region (shallow copy)
Definition at line 30 of file SharedObject.h.
removes a reference from rcr, and if necessary, destructs its data
Implemented in SharedObject< MC >, SharedObject< WalkMC >, SharedObject< MotionSequenceMC >, and SharedObject< UPennWalkMC >. Referenced by operator=().
Member Data Documentation
the pointer to the shared memory region this is in charge of
Definition at line 41 of file SharedObject.h. Referenced by data(), getRegion(), operator=(), SharedObject< UPennWalkMC >::removeRef(), SharedObject< UPennWalkMC >::SharedObject(), and SharedObjectBase().
incremented for each region created so they will all have unique IDs
Definition at line 44 of file SharedObject.h. Referenced by SharedObject< UPennWalkMC >::createRCRegion().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:41 2007 by Doxygen 1.5.4 |