26 #ifndef NFD_DAEMON_FW_FACE_TABLE_HPP 27 #define NFD_DAEMON_FW_FACE_TABLE_HPP 31 #include <boost/range/adaptor/indirected.hpp> 32 #include <boost/range/adaptor/map.hpp> 49 add(shared_ptr<Face> face);
69 using FaceMap = std::map<FaceId, shared_ptr<Face>>;
70 using ForwardRange = boost::indirected_range<const boost::select_second_const_range<FaceMap>>;
95 addImpl(shared_ptr<Face> face,
FaceId faceId);
101 getForwardRange()
const;
110 #endif // NFD_DAEMON_FW_FACE_TABLE_HPP boost::indirected_range< const boost::select_second_const_range< FaceMap > > ForwardRange
const_iterator end() const
void addReserved(shared_ptr< Face > face, FaceId faceId)
add a special face with a reserved FaceId
std::map< FaceId, shared_ptr< Face > > FaceMap
signal::Signal< FaceTable, Face > afterAdd
Fires immediately after a face is added.
boost::range_iterator< ForwardRange >::type const_iterator
ForwardIterator for Face&.
signal::Signal< FaceTable, Face > beforeRemove
Fires immediately before a face is removed.
void add(shared_ptr< Face > face)
add a face
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
generalization of a network interface
const_iterator begin() const
uint64_t FaceId
Identifies a face.