67 #ifndef OBJECTIDPOINTERMANAGERT_HH
68 #define OBJECTIDPOINTERMANAGERT_HH
78 #warning Included deprecated Header ObjectIDPointerManger
79 #warning You can attach data to objects by using the perObjectData class!
80 #warning Derive from perObjectData and use setObjectData on an Object
81 #warning to attach the data to it. You can read the data by using
82 #warning the objectData function of each object.
93 template <
class Po
inter >
116 bool get_pointer(
int _identifier, Pointer & _pointer);
128 bool add_pointer(
int _identifier,
const Pointer & _pointer);
133 void get_object_ids(std::vector<int> & _ids);
149 #if defined(INCLUDE_TEMPLATES) && !defined(OBJECTIDPOINTERMANAGERT_C)
150 #define OBJECTIDPOINTERMANAGERT_TEMPLATES
151 #include "ObjectIDPointerManagerT.cc"
154 #endif // OBJECTIDPOINTERMANAGERT_HH defined
bool add_pointer(int _identifier, const Pointer &_pointer)
ObjectIDPointerManagerT()
Constructor.
bool get_pointer(int _identifier, Pointer &_pointer)
bool delete_object(int _identifier)
Doesn't actually delete object (pointed to by pointer) only clears entry from the map...
~ObjectIDPointerManagerT()
Destructor.
std::pair< int, Pointer > PointerObjectIDPair
typedef for the pairs
std::map< int, Pointer > PointerObjectIDMap
typedef for the idmap
PointerObjectIDMap pointer_objectID_map_
mapping
ObjectIDPointerManagerT & operator=(const ObjectIDPointerManagerT &_rhs)
Assignment operator (not used)