27 #ifndef FIFE_EVENTCHANNEL_EVENT_H
28 #define FIFE_EVENTCHANNEL_EVENT_H
44 #include "eventchannel/source/ec_ieventsource.h"
56 m_timestamp(SDL_GetTicks()) {}
64 virtual void consume() { m_isconsumed =
true; }
85 virtual void setTimeStamp(
int timestamp ) { m_timestamp = timestamp; }
89 virtual const std::string&
getName()
const {
90 const static std::string eventName(
"Event");
98 ss <<
"consumed = " << m_isconsumed <<
", ";
99 ss <<
"src = " << m_eventsource <<
", ";
100 ss <<
"timestamp = " << m_timestamp;
107 std::stringstream ss;