Changeset 2144 for code/branches/objecthierarchy/src/core
- Timestamp:
- Nov 5, 2008, 5:32:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/BaseObject.h
r2114 r2144 72 72 73 73 /** @brief Sets the state of the objects activity. @param bActive True = active */ 74 inline void setActive(bool bActive) { this->bActive_ = bActive; this->changedActivity(); } 74 inline void setActive(bool bActive) 75 { 76 bool bTemp = this->bActive_; 77 this->bActive_ = bActive; 78 if ( bTemp != bActive ) 79 this->changedActivity(); 80 } 75 81 /** @brief Returns the state of the objects activity. @return The state of the activity */ 76 82 inline bool isActive() const { return this->bActive_; }
Note: See TracChangeset
for help on using the changeset viewer.