A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
trailer.cc
1 #include "trailer.h"
2 #include "ns3/log.h"
3 
4 NS_LOG_COMPONENT_DEFINE ("Trailer");
5 
6 namespace ns3 {
7 
8 NS_OBJECT_ENSURE_REGISTERED (Trailer);
9 
10 Trailer::~Trailer ()
11 {
12  NS_LOG_FUNCTION (this);
13 }
14 
15 TypeId
16 Trailer::GetTypeId (void)
17 {
18  static TypeId tid = TypeId ("ns3::Trailer")
19  .SetParent<Chunk> ()
20  ;
21  return tid;
22 }
23 
24 std::ostream & operator << (std::ostream &os, const Trailer &trailer)
25 {
26  trailer.Print (os);
27  return os;
28 }
29 
30 } // namespace ns3
#define NS_LOG_FUNCTION(parameters)
Definition: log.h:311
#define NS_LOG_COMPONENT_DEFINE(name)
Definition: log.h:122
std::ostream & operator<<(std::ostream &os, const Angles &a)
Definition: angles.cc:43