macros to ensure proper initialization

This commit is contained in:
Mathieu Lacage
2007-08-04 16:49:06 +02:00
parent 93cea27ad8
commit 0cb76eb275
8 changed files with 32 additions and 0 deletions

View File

@@ -27,6 +27,8 @@
NS_DEBUG_COMPONENT_DEFINE ("EthernetHeader");
NS_HEADER_ENSURE_REGISTERED (ns3::EthernetHeader);
namespace ns3 {
uint32_t

View File

@@ -26,6 +26,8 @@
NS_DEBUG_COMPONENT_DEFINE ("EthernetTrailer");
NS_TRAILER_ENSURE_REGISTERED (ns3::EthernetTrailer);
namespace ns3 {
bool EthernetTrailer::m_calcFcs = false;

View File

@@ -23,6 +23,8 @@
#include "ns3/assert.h"
#include <string>
NS_HEADER_ENSURE_REGISTERED (ns3::LlcSnapHeader);
namespace ns3 {