22 #ifndef NLSR_TLV_NEXTHOP_HPP 23 #define NLSR_TLV_NEXTHOP_HPP 25 #include <ndn-cxx/util/time.hpp> 26 #include <ndn-cxx/encoding/block.hpp> 27 #include <ndn-cxx/encoding/encoding-buffer.hpp> 28 #include <ndn-cxx/encoding/tlv.hpp> 29 #include <ndn-cxx/name.hpp> 30 #include <boost/throw_exception.hpp> 59 NextHop(
const ndn::Block& block);
89 template<ndn::encoding::Tag TAG>
91 wireEncode(ndn::EncodingImpl<TAG>& block)
const;
103 mutable ndn::Block m_wire;
114 #endif // NLSR_TLV_NEXTHOP_HPP NextHop & setUri(const std::string &uri)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
const std::string & getUri() const
Data abstraction for Nexthop.
Error(const std::string &what)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
const ndn::Block & wireEncode() const
void wireDecode(const ndn::Block &wire)
std::ostream & operator<<(std::ostream &os, const AdjacencyLsa &adjacencyLsa)
NextHop & setCost(double cost)
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(Destination)