Changeset 10413 for code/branches/core7/src/libraries/util
- Timestamp:
- May 2, 2015, 11:20:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/util/Singleton.h
r10398 r10413 146 146 } 147 147 148 //! Update method called by ClassSingletonManager (if used)149 void preUpdateSingleton(const Clock& time) { static_cast<T*>(T::singletonPtr_s)->preUpdate(time); }150 //! Empty update method for the static polymorphism151 void preUpdate(const Clock& time) { }152 //! Update method called by ClassSingletonManager (if used)153 void postUpdateSingleton(const Clock& time) { static_cast<T*>(T::singletonPtr_s)->postUpdate(time); }154 //! Empty update method for the static polymorphism155 void postUpdate(const Clock& time) { }156 157 148 protected: 158 149 //! Constructor sets the singleton instance pointer
Note: See TracChangeset
for help on using the changeset viewer.