5 #ifndef API_V2_PROCESSINGLIST_HPP
6 #define API_V2_PROCESSINGLIST_HPP
22 typedef std::function<bool(Request *req, Response *res, ProcessingList *pl)>
EventFunction;
46 EventFunctionList::iterator
begin();
52 EventFunctionList::iterator
end();
86 #endif //API_V2_PROCESSINGLIST_HPP
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()
std::list< EventFunction > EventFunctionList
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