Changeset 3223 for code/branches/core4/src/network/NetworkFunction.h
- Timestamp:
- Jun 23, 2009, 7:28:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/network/NetworkFunction.h
r3214 r3223 150 150 { 151 151 if ( Synchronisable::getSynchronisable(objectID)!=0 ) 152 (*this->functor_)( dynamic_cast<T*>(Synchronisable::getSynchronisable(objectID)));152 (*this->functor_)(orxonox_cast<T>(Synchronisable::getSynchronisable(objectID))); 153 153 } 154 154 inline void call(uint32_t objectID, const MultiType& mt1) 155 155 { 156 156 if ( Synchronisable::getSynchronisable(objectID)!=0 ) 157 (*this->functor_)( dynamic_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1);157 (*this->functor_)(orxonox_cast<T>(Synchronisable::getSynchronisable(objectID)), mt1); 158 158 } 159 159 inline void call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2) 160 160 { 161 161 if ( Synchronisable::getSynchronisable(objectID)!=0 ) 162 (*this->functor_)( dynamic_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2);162 (*this->functor_)(orxonox_cast<T>(Synchronisable::getSynchronisable(objectID)), mt1, mt2); 163 163 } 164 164 inline void call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3) 165 165 { 166 166 if ( Synchronisable::getSynchronisable(objectID)!=0 ) 167 (*this->functor_)( dynamic_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3);167 (*this->functor_)(orxonox_cast<T>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3); 168 168 } 169 169 inline void call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4) 170 170 { 171 171 if ( Synchronisable::getSynchronisable(objectID)!=0 ) 172 (*this->functor_)( dynamic_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3, mt4);172 (*this->functor_)(orxonox_cast<T>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3, mt4); 173 173 } 174 174 inline void call(uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5) 175 175 { 176 176 if ( Synchronisable::getSynchronisable(objectID)!=0 ) 177 (*this->functor_)( dynamic_cast<T*>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3, mt4, mt5);177 (*this->functor_)(orxonox_cast<T>(Synchronisable::getSynchronisable(objectID)), mt1, mt2, mt3, mt4, mt5); 178 178 } 179 179
Note: See TracChangeset
for help on using the changeset viewer.