- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/NetworkFunction.h
r10768 r10817 114 114 115 115 // ignore the objectID because its a static function 116 virtual bool call(uint32_t objectID) { (*this->functor_)(); return true; }117 virtual bool call(uint32_t objectID, const MultiType& mt1) { (*this->functor_)(mt1); return true; }118 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2) { (*this->functor_)(mt1, mt2); return true; }119 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3) { (*this->functor_)(mt1, mt2, mt3); return true; }120 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4) { (*this->functor_)(mt1, mt2, mt3, mt4); return true; }121 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5) { (*this->functor_)(mt1, mt2, mt3, mt4, mt5); return true; }116 virtual bool call(uint32_t objectID) override{ (*this->functor_)(); return true; } 117 virtual bool call(uint32_t objectID, const MultiType& mt1) override{ (*this->functor_)(mt1); return true; } 118 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2) override{ (*this->functor_)(mt1, mt2); return true; } 119 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3) override{ (*this->functor_)(mt1, mt2, mt3); return true; } 120 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4) override{ (*this->functor_)(mt1, mt2, mt3, mt4); return true; } 121 virtual bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5) override{ (*this->functor_)(mt1, mt2, mt3, mt4, mt5); return true; } 122 122 123 123 private: … … 142 142 { } 143 143 144 inline bool call(uint32_t objectID) 144 inline bool call(uint32_t objectID) override 145 145 { 146 146 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) … … 152 152 return false; 153 153 } 154 inline bool call(uint32_t objectID, const MultiType& mt1) 154 inline bool call(uint32_t objectID, const MultiType& mt1) override 155 155 { 156 156 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) … … 162 162 return false; 163 163 } 164 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2) 164 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2) override 165 165 { 166 166 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) … … 172 172 return false; 173 173 } 174 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3) 174 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3) override 175 175 { 176 176 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) … … 182 182 return false; 183 183 } 184 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4) 184 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4) override 185 185 { 186 186 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) … … 192 192 return false; 193 193 } 194 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5) 194 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5) override 195 195 { 196 196 if ( Synchronisable::getSynchronisable(objectID)!=nullptr )
Note: See TracChangeset
for help on using the changeset viewer.