Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
SEEventManager Class Reference
#include <SEEventManager.h>
Inherits Loggable.
Public Member Functions | |
| SEEventManager (Logger *logger) | |
| virtual | ~SEEventManager () |
| void | Clear () |
| virtual void | SetEvent (eEvent e, bool active) |
| virtual bool | IsEventActive (eEvent e) const |
| virtual double | GetEventDuration_s (eEvent e) const |
| virtual double | GetEventDuration (eEvent e, const TimeUnit &unit) const |
| virtual void | GetActiveEvents (std::vector< SEEventChange > &active) const |
| virtual void | GetEventChanges (std::vector< SEEventChange > &changed) const |
| virtual void | ForwardEvents (SEEventHandler *handler) const |
| virtual SEEventHandler * | GetEventHandler () |
| virtual void | UpdateEvents (const SEScalarTime &timeStep) |
Public Member Functions inherited from Loggable | |
| Loggable (Logger *logger=nullptr) | |
| Loggable (std::string const &logfile) | |
| virtual | ~Loggable () |
| virtual Logger * | GetLogger () const |
| virtual void | SetLogger (Logger &logger) |
| virtual void | Debug (std::string const &msg) const |
| virtual void | Debug (std::stringstream &msg) const |
| virtual void | Debug (std::ostream &msg) const |
| virtual void | Info (std::string const &msg) const |
| virtual void | Info (std::stringstream &msg) const |
| virtual void | Info (const std::stringstream &msg) const |
| virtual void | Info (std::ostream &msg) const |
| virtual void | Warning (std::string const &msg) const |
| virtual void | Warning (std::stringstream &msg) const |
| virtual void | Warning (std::ostream &msg) const |
| virtual void | Error (std::string const &msg) const |
| virtual void | Error (std::stringstream &msg) const |
| virtual void | Error (std::ostream &msg) const |
| virtual void | Fatal (std::string const &msg) const |
| virtual void | Fatal (std::stringstream &msg) const |
| virtual void | Fatal (std::ostream &msg) const |
Protected Member Functions | |
| SEEventChange & | GetEvent (eEvent e) |
| const SEEventChange * | GetEvent (eEvent e) const |
Protected Attributes | |
| std::stringstream | m_ss |
| std::vector< SEEventChange > | m_Events |
| SEEventHandler * | m_EventHandler |
Protected Attributes inherited from Loggable | |
| bool | myLogger |
| Logger * | m_Logger |
Friends | |
| class | PBEvents |
Constructor & Destructor Documentation
◆ SEEventManager()
| SEEventManager::SEEventManager | ( | Logger * | logger | ) |
◆ ~SEEventManager()
|
virtual |
Member Function Documentation
◆ Clear()
| void SEEventManager::Clear | ( | ) |
◆ ForwardEvents()
|
inlinevirtual |
◆ GetActiveEvents()
|
virtual |
◆ GetEvent() [1/2]
|
protected |
◆ GetEvent() [2/2]
|
protected |
◆ GetEventChanges()
|
virtual |
◆ GetEventDuration()
|
virtual |
◆ GetEventDuration_s()
|
virtual |
◆ GetEventHandler()
|
inlinevirtual |
◆ IsEventActive()
|
virtual |
◆ SetEvent()
|
virtual |
◆ UpdateEvents()
|
virtual |
Friends And Related Function Documentation
◆ PBEvents
|
friend |
Member Data Documentation
◆ m_EventHandler
|
mutableprotected |
◆ m_Events
|
protected |
◆ m_ss
|
protected |

Public Member Functions inherited from