src/core/object.h
changeset 1380 799617173a45
parent 1374 77468496f7e0
child 1383 12f30b7defb4
equal deleted inserted replaced
1379:f323d2dcdaf6 1380:799617173a45
   139    * method returns, it becomes possible to call QueryInterface
   139    * method returns, it becomes possible to call QueryInterface
   140    * on one to get the other, and vice-versa. 
   140    * on one to get the other, and vice-versa. 
   141    */
   141    */
   142   void AddInterface (Ptr<Object> other);
   142   void AddInterface (Ptr<Object> other);
   143 
   143 
   144 
   144   /**
       
   145    * \param path the path to match for the callback
       
   146    * \param cb callback to connect
       
   147    *
       
   148    * Connect the input callback to all trace sources which
       
   149    * match the input path.
       
   150    *
       
   151    */
   145   void TraceConnect (std::string path, const CallbackBase &cb);
   152   void TraceConnect (std::string path, const CallbackBase &cb);
       
   153   /**
       
   154    * \param path the path to match for the callback
       
   155    * \param cb callback to disconnect
       
   156    *
       
   157    * Disconnect the input callback from all trace sources which
       
   158    * match the input path.
       
   159    */
   146   void TraceDisconnect (std::string path, const CallbackBase &cb);
   160   void TraceDisconnect (std::string path, const CallbackBase &cb);
       
   161   /**
       
   162    * \returns the trace resolver associated to this object.
       
   163    *
       
   164    * This method should be rarely called by users.
       
   165    */
   147   virtual Ptr<TraceResolver> GetTraceResolver (void);
   166   virtual Ptr<TraceResolver> GetTraceResolver (void);
   148 protected:
   167 protected:
   149   /**
   168   /**
   150    * \param iid an InterfaceId
   169    * \param iid an InterfaceId
   151    *
   170    *