OpenSDN source code
path.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef ctrlplane_path_h
7 #define ctrlplane_path_h
8 
9 #include <boost/intrusive/list.hpp>
10 
11 class Path {
12 public:
14  }
15  virtual ~Path() { }
16  virtual std::string ToString() const = 0;
17 
18  const uint64_t time_stamp_usecs() const { return time_stamp_usecs_; }
21  }
22 
23 private:
24  friend class Route;
25  boost::intrusive::list_member_hook<> node_;
28 };
29 
30 #endif
Definition: path.h:11
uint64_t time_stamp_usecs_
Definition: path.h:26
virtual ~Path()
Definition: path.h:15
const uint64_t time_stamp_usecs() const
Definition: path.h:18
void set_time_stamp_usecs(uint64_t time_stamp_usecs)
Definition: path.h:19
boost::intrusive::list_member_hook node_
Definition: path.h:25
Path()
Definition: path.h:13
DISALLOW_COPY_AND_ASSIGN(Path)
virtual std::string ToString() const =0
Definition: route.h:15