author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Thu, 21 Feb 2008 19:16:00 +0100 | |
changeset 2457 | 87f009efcb3f |
parent 2438 | e2ac9f9aeeb9 |
child 2458 | e8f7c4960576 |
permissions | -rw-r--r-- |
#ifndef OBJECT_FACTORY_H #define OBJECT_FACTORY_H #include "attribute.h" #include "object.h" namespace ns3 { class ObjectFactory { public: ObjectFactory (); void SetTypeId (TypeId tid); void SetTypeId (std::string tid); void Set (std::string name, Attribute value); void Set (std::string name, std::string value); TypeId GetTypeId (void) const; Ptr<Object> Create (void) const; private: TypeId m_tid; Parameters m_parameters; }; } // namespace ns3 #endif /* OBJECT_FACTORY_H */