blob: 94b77e074b5b95df4a9763e1a79e5618aac1470c [file] [log] [blame]
akmhoquedfa4a5b2014-02-03 20:12:29 -06001#ifndef NLSR_NHL_HPP
2#define NLSR_NHL_HPP
3
4#include <ndn-cpp-dev/face.hpp>
5#include "nlsr_adjacent.hpp"
6#include <list>
7#include <iostream>
8
9#include "nlsr_nexthop.hpp"
10
11using namespace std;
12
13class Nhl
14{
15public:
16 Nhl()
17 {
18 }
19
20 ~Nhl()
21 {
22 }
23 void addNextHop(NextHop &nh);
24 std::list< NextHop >& getNextHopList()
25 {
26 return nexthopList;
27 }
28
29private:
30 std::list< NextHop > nexthopList;
31};
32
33ostream&
34operator<<(ostream& os, Nhl& nhl);
35
36#endif