equal
deleted
inserted
replaced
48 * ns3::TraceResolver::GetContext method. |
48 * ns3::TraceResolver::GetContext method. |
49 */ |
49 */ |
50 class TraceResolver |
50 class TraceResolver |
51 { |
51 { |
52 public: |
52 public: |
|
53 |
|
54 TraceResolver (); |
53 virtual ~TraceResolver (); |
55 virtual ~TraceResolver (); |
|
56 void Ref (void); |
|
57 void Unref (void); |
|
58 |
54 /** |
59 /** |
55 * \param path the namespace path to resolver |
60 * \param path the namespace path to resolver |
56 * \param cb the callback to connect to the matching namespace |
61 * \param cb the callback to connect to the matching namespace |
57 * |
62 * |
58 * This method is typically invoked by ns3::TraceRoot but advanced |
63 * This method is typically invoked by ns3::TraceRoot but advanced |
70 */ |
75 */ |
71 virtual void Disconnect (std::string path, CallbackBase const &cb); |
76 virtual void Disconnect (std::string path, CallbackBase const &cb); |
72 protected: |
77 protected: |
73 std::string GetElement (std::string path); |
78 std::string GetElement (std::string path); |
74 std::string GetSubpath (std::string path); |
79 std::string GetSubpath (std::string path); |
|
80 uint32_t m_count; |
75 }; |
81 }; |
76 |
82 |
77 }//namespace ns3 |
83 }//namespace ns3 |
78 |
84 |
79 #endif /* TRACE_RESOLVER_H */ |
85 #endif /* TRACE_RESOLVER_H */ |