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

ns3::ObjectFactory class declaration. More...

#include "attribute-construction-list.h"
#include "object.h"
#include "type-id.h"
+ Include dependency graph for object-factory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::ObjectFactory
 Instantiate subclasses of ns3::Object. More...
 
class  ns3::ObjectFactoryChecker
 AttributeChecker implementation for ObjectFactoryValue. More...
 
class  ns3::ObjectFactoryValue
 AttributeValue implementation for ObjectFactory. More...
 

Namespaces

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

Functions

template<typename T , typename... Args>
Ptr< T > ns3::CreateObjectWithAttributes (Args... args)
 Allocate an Object on the heap and initialize with a set of attributes. More...
 
template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeObjectFactoryAccessor (T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method. More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeObjectFactoryAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
Ptr< const AttributeChecker > ns3::MakeObjectFactoryChecker (void)
 
std::ostream & ns3::operator<< (std::ostream &os, const ObjectFactory &factory)
 
std::istream & ns3::operator>> (std::istream &is, ObjectFactory &factory)
 

Detailed Description

ns3::ObjectFactory class declaration.

Definition in file object-factory.h.