src/core/object-base.h File Reference

#include "type-id.h"
#include "callback.h"
#include <string>
Include dependency graph for object-base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::ObjectBase
 implement the ns-3 type and attribute system More...

Namespaces

namespace  ns3
 

Every class exported by the ns3 library is enclosed in the ns3 namespace.


Defines

#define NS_OBJECT_ENSURE_REGISTERED(type)

Define Documentation

#define NS_OBJECT_ENSURE_REGISTERED ( type   ) 
Value:
static struct X##type##RegistrationClass      \
  {                                             \
    X##type##RegistrationClass () {             \
      ns3::TypeId tid = type::GetTypeId ();     \
      tid.GetParent ();                         \
    }                                           \
} x_##type##RegistrationVariable

This macro should be invoked once for every class which defines a new GetTypeId method.

Definition at line 31 of file object-base.h.

Generated on Thu Dec 3 14:06:34 2009 for NS-3 by  doxygen 1.6.3