27 #ifndef FIFE_EVENTCHANNEL_EVENT_H
28 #define FIFE_EVENTCHANNEL_EVENT_H
89 virtual const std::string&
getName()
const {
90 const static std::string eventName(
"Event");
107 std::stringstream ss;
virtual ~Event()
Destructor.
virtual void setSource(IEventSource *source)
Sets the source of the event.
Base class for all events.
virtual std::string getDebugString() const
Gets the debugstring of the event.
IEventSource * m_eventsource
virtual IEventSource * getSource() const
Gets the source of the event.
virtual int32_t getTimeStamp() const
Gets the timestamp of the event.
virtual const std::string & getName() const
Gets the name of the event.
virtual void setTimeStamp(int32_t timestamp)
Sets the timestamp of the event.
Representation of event source (a thing sending events)
virtual void consume()
Marks the event as consumed.
virtual std::string getAttrStr() const
Gets attribute string of the event.
virtual bool isConsumed() const
Checks if the event is consumed.