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 >
Ptr< T > ns3::CreateObjectWithAttributes (std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue(), std::string n8="", const AttributeValue &v8=EmptyAttributeValue(), std::string n9="", const AttributeValue &v9=EmptyAttributeValue())
 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.