Project

General

Profile

Feature #2279

Updated by Junxiao Shi over 9 years ago

``` 
 template<typename Owner, typename ...TArgs> 
 class Signal EventEmitter 
 { 
 ... 
 private: 
   void 
   operator()(const TArgs&... args) const; 

   friend typename Owner; 
 }; 

 class Face 
 { 
 public: 
   Signal<Face, EventEmitter<Face, Interest> onReceiveInterest; 

 protected: 
   void 
   raise_onReceiveInterest(const raiseOnReceiveInterest(const Interest& interest) 
   { 
     onReceiveInterest(interest); 
   } 
 }; 
 ```

Back