providers getters and setters of face information fields More...
#include <nfd-face-traits.hpp>
Classes | |
class | Error |
Public Member Functions | |
FaceTraits () | |
uint64_t | getFaceId () const |
C & | setFaceId (uint64_t faceId) |
const std::string & | getRemoteUri () const |
C & | setRemoteUri (const std::string &remoteUri) |
const std::string & | getLocalUri () const |
C & | setLocalUri (const std::string &localUri) |
FaceScope | getFaceScope () const |
C & | setFaceScope (FaceScope faceScope) |
FacePersistency | getFacePersistency () const |
C & | setFacePersistency (FacePersistency facePersistency) |
LinkType | getLinkType () const |
C & | setLinkType (LinkType linkType) |
Protected Member Functions | |
virtual void | wireReset () const =0 |
Protected Attributes | |
uint64_t | m_faceId |
std::string | m_remoteUri |
std::string | m_localUri |
FaceScope | m_faceScope |
FacePersistency | m_facePersistency |
LinkType | m_linkType |
providers getters and setters of face information fields
C | the concrete class; it must provide .wireReset() method to clear wire encoding when a field changes |
Definition at line 36 of file nfd-face-traits.hpp.
|
inline |
Definition at line 49 of file nfd-face-traits.hpp.
|
inline |
Definition at line 58 of file nfd-face-traits.hpp.
Referenced by nfd::rib::RibManager::enableLocalControlHeader(), and ndn::nfd::operator<<().
|
inline |
Definition at line 64 of file nfd-face-traits.hpp.
|
inline |
Definition at line 72 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 78 of file nfd-face-traits.hpp.
|
inline |
Definition at line 86 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 92 of file nfd-face-traits.hpp.
|
inline |
Definition at line 100 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 106 of file nfd-face-traits.hpp.
|
inline |
Definition at line 114 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 120 of file nfd-face-traits.hpp.
|
inline |
Definition at line 128 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 134 of file nfd-face-traits.hpp.
|
protectedpure virtual |
Implemented in ndn::nfd::FaceStatus, and ndn::nfd::FaceEventNotification.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::setFaceId(), ndn::nfd::FaceTraits< FaceEventNotification >::setFacePersistency(), ndn::nfd::FaceTraits< FaceEventNotification >::setFaceScope(), ndn::nfd::FaceTraits< FaceEventNotification >::setLinkType(), ndn::nfd::FaceTraits< FaceEventNotification >::setLocalUri(), and ndn::nfd::FaceTraits< FaceEventNotification >::setRemoteUri().
|
protected |
Definition at line 146 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFaceId(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFaceId().
|
protected |
Definition at line 147 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getRemoteUri(), and ndn::nfd::FaceTraits< FaceEventNotification >::setRemoteUri().
|
protected |
Definition at line 148 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getLocalUri(), and ndn::nfd::FaceTraits< FaceEventNotification >::setLocalUri().
|
protected |
Definition at line 149 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFaceScope(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFaceScope().
|
protected |
Definition at line 150 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFacePersistency(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFacePersistency().
|
protected |
Definition at line 151 of file nfd-face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getLinkType(), and ndn::nfd::FaceTraits< FaceEventNotification >::setLinkType().