Actions
Task #1317
closedFaceTable
Start date:
03/02/2014
Due date:
% Done:
100%
Estimated time:
2.00 h
Description
Develop a FaceTable
class that stores all faces, and assigns FaceId to each new Face.
The FaceTable
instance is owned by Forwarder
, and used by management.
API¶
class FaceTable
{
shared_ptr<Face> get(FaceId id) const;
void add(shared_ptr<Face> face);
void remove(shared_ptr<Face> face);
typedef ... const_iterator; // iterator of shared_ptr<Face>
const_iterator begin();
const_iterator end();
};
Actions