Changeset 6466 for code/branches/pickup3/src/libraries/core
- Timestamp:
- Mar 4, 2010, 11:56:26 AM (15 years ago)
- Location:
- code/branches/pickup3/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/libraries/core/OrxonoxClass.h
r6417 r6466 39 39 40 40 #include "CorePrereqs.h" 41 #include "Super.h" 41 42 42 43 #include <set> … … 107 108 bool isParentOf(const OrxonoxClass* object); 108 109 bool isDirectParentOf(const OrxonoxClass* object); 110 111 virtual void clone(OrxonoxClass* item) {} 109 112 110 113 inline unsigned int getReferenceCount() const … … 169 172 std::vector<std::pair<unsigned int, void*> > objectPointers_; 170 173 }; 174 175 SUPER_FUNCTION(11, OrxonoxClass, clone, true); 176 171 177 } 172 178 -
code/branches/pickup3/src/libraries/core/Super.h
r6419 r6466 270 270 #define SUPER_changedUsed(classname, functionname, ...) \ 271 271 SUPER_NOARGS(classname, functionname) 272 273 #define SUPER_clone(classname, functionname, ...) \ 274 SUPER_ARGS(classname, functionname, __VA_ARGS__) 275 276 #define SUPER_changedCarrier(classname, functionname, ...) \ 277 SUPER_NOARGS(classname, functionname) 278 272 279 // (1/3) --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- 273 280 … … 524 531 () 525 532 SUPER_FUNCTION_GLOBAL_DECLARATION_PART2; 533 534 SUPER_FUNCTION_GLOBAL_DECLARATION_PART1(11, clone, true, OrxonoxClass* item) 535 (item) 536 SUPER_FUNCTION_GLOBAL_DECLARATION_PART2; 537 538 SUPER_FUNCTION_GLOBAL_DECLARATION_PART1(12, changedCarrier, false) 539 () 540 SUPER_FUNCTION_GLOBAL_DECLARATION_PART2; 541 526 542 // (2/3) --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- 527 543 … … 578 594 SUPER_INTRUSIVE_DECLARATION(changedGametype); 579 595 SUPER_INTRUSIVE_DECLARATION(changedUsed); 596 SUPER_INTRUSIVE_DECLARATION(clone); 597 SUPER_INTRUSIVE_DECLARATION(changedCarrier); 580 598 // (3/3) --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- --> HERE <-- 581 599
Note: See TracChangeset
for help on using the changeset viewer.