22 return m_events.begin();
26 return m_events.end();
30 m_events.push_back(eventFunction);
35 m_events.insert(ref, eventFunction);
41 m_events.insert(++ref, eventFunction);
47 (*
begin())(req, res,
this);
bool next(Request *req, Response *res)
pop current event and call next event
EventFunctionList::iterator begin()
bool pushBefore(EventFunction eventFunction, EventFunctionList::const_iterator ref)
push eventFunction before iterator
virtual ~ProcessingList()
bool push(EventFunction eventFunction)
push back eventFunction
EventFunctionList::iterator end()
bool pushAfter(EventFunction eventFunction, EventFunctionList::const_iterator ref)
push eventFunction after iterator
std::function< bool(Request *req, Response *res, ProcessingList *pl)> EventFunction