providers getters and setters of face information fields More...
#include <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) |
uint64_t | getFlags () const |
C & | setFlags (uint64_t flags) |
bool | getFlagBit (size_t bit) const |
C & | setFlagBit (size_t bit, bool value) |
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 |
uint64_t | m_flags |
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 face-traits.hpp.
|
inline |
Definition at line 49 of file face-traits.hpp.
|
inline |
Definition at line 59 of file face-traits.hpp.
Referenced by nfd::rib::RibManager::onRibUpdateFailure(), and ndn::nfd::operator<<().
|
inline |
Definition at line 65 of file face-traits.hpp.
Referenced by nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 73 of file face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 79 of file face-traits.hpp.
|
inline |
Definition at line 87 of file face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 93 of file face-traits.hpp.
|
inline |
Definition at line 101 of file face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 107 of file face-traits.hpp.
|
inline |
Definition at line 115 of file face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 121 of file face-traits.hpp.
|
inline |
Definition at line 129 of file face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 135 of file face-traits.hpp.
|
inline |
Definition at line 143 of file face-traits.hpp.
Referenced by ndn::nfd::operator<<().
|
inline |
Definition at line 149 of file face-traits.hpp.
|
inline |
Definition at line 157 of file face-traits.hpp.
|
inline |
Definition at line 167 of file 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 >::setFlagBit(), ndn::nfd::FaceTraits< FaceEventNotification >::setFlags(), ndn::nfd::FaceTraits< FaceEventNotification >::setLinkType(), ndn::nfd::FaceTraits< FaceEventNotification >::setLocalUri(), and ndn::nfd::FaceTraits< FaceEventNotification >::setRemoteUri().
|
protected |
Definition at line 190 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFaceId(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFaceId().
|
protected |
Definition at line 191 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getRemoteUri(), and ndn::nfd::FaceTraits< FaceEventNotification >::setRemoteUri().
|
protected |
Definition at line 192 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getLocalUri(), and ndn::nfd::FaceTraits< FaceEventNotification >::setLocalUri().
|
protected |
Definition at line 193 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFaceScope(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFaceScope().
|
protected |
Definition at line 194 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFacePersistency(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFacePersistency().
|
protected |
Definition at line 195 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getLinkType(), and ndn::nfd::FaceTraits< FaceEventNotification >::setLinkType().
|
protected |
Definition at line 196 of file face-traits.hpp.
Referenced by ndn::nfd::FaceTraits< FaceEventNotification >::getFlagBit(), ndn::nfd::FaceTraits< FaceEventNotification >::getFlags(), ndn::nfd::FaceTraits< FaceEventNotification >::setFlagBit(), and ndn::nfd::FaceTraits< FaceEventNotification >::setFlags().