src/core/config.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 07 Mar 2008 12:18:34 -0800
changeset 2569 d5cff2968984
parent 2532 86a40c7cbfe9
child 2570 15d5421022a1
permissions -rw-r--r--
make Disconnect work with trace contexts.
     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 void DisconnectWithContext (std::string path, const CallbackBase &cb);
    20 
    21 void RegisterRootNamespaceObject (Ptr<Object> obj);
    22 void UnregisterRootNamespaceObject (Ptr<Object> obj);
    23 
    24 } // namespace Config
    25 
    26 } // namespace ns3
    27 
    28 #endif /* CONFIG_H */