Changeset 5882 for code/branches/core5/src/libraries/core/BaseObject.h
- Timestamp:
- Oct 5, 2009, 9:57:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/BaseObject.h
r5879 r5882 157 157 void removeEventSource(BaseObject* source); 158 158 BaseObject* getEventSource(unsigned int index, const std::string& state) const; 159 160 void addEventListener(BaseObject* listener); 161 BaseObject* getEventListener(unsigned int index) const; 159 162 160 163 void fireEvent(); … … 208 211 std::map<BaseObject*, std::string> eventSources_; //!< List of objects which send events to this object, mapped to the state which they affect 209 212 std::set<BaseObject*> eventListeners_; //!< List of objects which listen to the events of this object 213 std::set<BaseObject*> eventListenersXML_; //!< List of objects which listen to the events of this object through the "eventlisteners" subsection in XML 210 214 std::map<std::string, EventState*> eventStates_; //!< Maps the name of the event states to their helper objects 211 215 bool bRegisteredEventStates_; //!< Becomes true after the object registered its event states (with XMLEventPort)
Note: See TracChangeset
for help on using the changeset viewer.