A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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

namespace  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.
 
template<typename T1 >
Ptr< const AttributeAccessorns3::MakeObjectFactoryAccessor (T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessorns3::MakeObjectFactoryAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class.
 
Ptr< const AttributeCheckerns3::MakeObjectFactoryChecker ()
 
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.