- Timestamp:
- Nov 6, 2015, 10:54:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/NetworkFunction.h
r10624 r10768 144 144 inline bool call(uint32_t objectID) 145 145 { 146 if ( Synchronisable::getSynchronisable(objectID)!= 0)146 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) 147 147 { 148 148 (*this->functor_)(orxonox_cast<T*>(Synchronisable::getSynchronisable(objectID))); … … 154 154 inline bool call(uint32_t objectID, const MultiType& mt1) 155 155 { 156 if ( Synchronisable::getSynchronisable(objectID)!= 0)156 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) 157 157 { 158 158 (*this->functor_)(orxonox_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1); … … 164 164 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2) 165 165 { 166 if ( Synchronisable::getSynchronisable(objectID)!= 0)166 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) 167 167 { 168 168 (*this->functor_)(orxonox_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2); … … 174 174 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3) 175 175 { 176 if ( Synchronisable::getSynchronisable(objectID)!= 0)176 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) 177 177 { 178 178 (*this->functor_)(orxonox_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3); … … 184 184 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4) 185 185 { 186 if ( Synchronisable::getSynchronisable(objectID)!= 0)186 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) 187 187 { 188 188 (*this->functor_)(orxonox_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3, mt4); … … 194 194 inline bool call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5) 195 195 { 196 if ( Synchronisable::getSynchronisable(objectID)!= 0)196 if ( Synchronisable::getSynchronisable(objectID)!=nullptr ) 197 197 { 198 198 (*this->functor_)(orxonox_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3, mt4, mt5);
Note: See TracChangeset
for help on using the changeset viewer.