A Discrete-Event Network Simulator
API
object-base.h File Reference

ns3::ObjectBase declaration and NS_OBJECT_ENSURE_REGISTERED() madro definition. More...

#include "type-id.h"
#include "callback.h"
#include <string>
#include <list>
+ 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
 Anchor the ns-3 type and attribute system. More...
 

Namespaces

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

Macros

#define NS_OBJECT_ENSURE_REGISTERED(type)
 Register an Object subclass with the TypeId system. More...
 
#define NS_OBJECT_TEMPLATE_CLASS_DEFINE(type, param)
 Explicitly instantiate a template class and register the resulting instance with the TypeId system. More...
 

Functions

template<typename T >
std::string ns3::DoGetTypeParamName (void)
 Helper function to get the name (as a string) of the type parameter of a template class. More...
 
template<typename T >
std::string ns3::GetTypeParamName (void)
 Helper function to get the name (as a string) of the type parameter of a template class. More...
 

Detailed Description

ns3::ObjectBase declaration and NS_OBJECT_ENSURE_REGISTERED() madro definition.

Definition in file object-base.h.