Changeset 7495 for code/trunk/src/libraries/network/FunctionCall.cc
- Timestamp:
- Sep 28, 2010, 9:48:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/FunctionCall.cc
r7490 r7495 80 80 { 81 81 case 0: 82 fct->call(this->objectID_); 82 if( !fct->call(this->objectID_) ) 83 return false; 83 84 break; 84 85 case 1: 85 fct->call(this->objectID_, this->arguments_[0]); 86 if( !fct->call(this->objectID_, this->arguments_[0]) ) 87 return false; 86 88 break; 87 89 case 2: 88 fct->call(this->objectID_, this->arguments_[0], this->arguments_[1]); 90 if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1]) ) 91 return false; 89 92 break; 90 93 case 3: 91 fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2]); 94 if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2]) ) 95 return false; 92 96 break; 93 97 case 4: 94 fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3]); 98 if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3]) ) 99 return false; 95 100 break; 96 101 case 5: 97 fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3], this->arguments_[4]); 102 if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3], this->arguments_[4]) ) 103 return false; 98 104 break; 99 105 default:
Note: See TracChangeset
for help on using the changeset viewer.