Changeset 5641 in orxonox.OLD for trunk/src/lib/util/executor/executor.cc
- Timestamp:
- Nov 18, 2005, 9:22:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/executor/executor.cc
r5636 r5641 32 32 // SHELL COMMAND BASE // 33 33 //////////////////////// 34 // empty constructor 35 Executor::Executor() 36 { 37 this->defaultValue = NULL; 38 } 39 34 40 /** 35 41 * constructs and registers a new Command … … 63 69 delete[] this->defaultValue; 64 70 } 71 72 /** 73 * clones this element into executor. 74 */ 75 void Executor::cloning(Executor* executor) const 76 { 77 executor->functorType = this->functorType; 78 executor->paramCount = this->paramCount; 79 executor->defaultValue = new MultiType[this->paramCount]; 80 for (unsigned int i = 0; i < this->paramCount; i++) 81 executor->defaultValue[i] = this->defaultValue[i]; 82 } 83 84 65 85 66 86 /**
Note: See TracChangeset
for help on using the changeset viewer.