src/core/config.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sun, 02 Mar 2008 21:12:21 +0100
changeset 2532 86a40c7cbfe9
parent 2531 b451b5fc8b57
child 2569 d5cff2968984
permissions -rw-r--r--
register and unregister the NodeList as a config root namespace
     1 #ifndef CONFIG_H
     2 #define CONFIG_H
     3 
     4 #include "attribute.h"
     5 #include "ptr.h"
     6 #include "object.h"
     7 #include <string>
     8 
     9 namespace ns3 {
    10 
    11 namespace Config {
    12 
    13 void Set (std::string path, Attribute value);
    14 void SetDefault (std::string name, Attribute value);
    15 void SetGlobal (std::string name, Attribute value);
    16 void Connect (std::string path, const CallbackBase &cb);
    17 void Disconnect (std::string path, const CallbackBase &cb);
    18 void ConnectWithContext (std::string path, const CallbackBase &cb);
    19 
    20 void RegisterRootNamespaceObject (Ptr<Object> obj);
    21 void UnregisterRootNamespaceObject (Ptr<Object> obj);
    22 
    23 } // namespace Config
    24 
    25 } // namespace ns3
    26 
    27 #endif /* CONFIG_H */