52 #warning Included deprecated Header ObjectIDPointerManger 53 #warning You can attach data to objects by using the perObjectData class! 54 #warning Derive from perObjectData and use setObjectData on an Object 55 #warning to attach the data to it. You can read the data by using 56 #warning the objectData function of each object. 67 template <
class Po
inter >
90 bool get_pointer(
int _identifier, Pointer & _pointer);
102 bool add_pointer(
int _identifier,
const Pointer & _pointer);
107 void get_object_ids(std::vector<int> & _ids);
123 #if defined(INCLUDE_TEMPLATES) && !defined(OBJECTIDPOINTERMANAGERT_C) 124 #define OBJECTIDPOINTERMANAGERT_TEMPLATES 125 #include "ObjectIDPointerManagerT_impl.hh" std::map< int, Pointer > PointerObjectIDMap
typedef for the idmap
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...
PointerObjectIDMap pointer_objectID_map_
mapping
std::pair< int, Pointer > PointerObjectIDPair
typedef for the pairs
~ObjectIDPointerManagerT()
Destructor.
bool add_pointer(int _identifier, const Pointer &_pointer)
ObjectIDPointerManagerT & operator=(const ObjectIDPointerManagerT &_rhs)
Assignment operator (not used)
ObjectIDPointerManagerT()
Constructor.