|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
#include <OxygenEngine/util/pipeline.h>
Inheritance diagram for oe::util::pipeline::LambdaHandler< Request, Response >:
Collaboration diagram for oe::util::pipeline::LambdaHandler< Request, Response >:Public Member Functions | |
| LambdaHandler (const handler_function &handler) | |
| Response | handle (const Request &input) override |
Public Member Functions inherited from oe::util::pipeline::Handler< Request, Response > | |
| virtual void | init () |
| virtual void | clean () |
| Response | next (const Request &input) |
Protected Attributes | |
| handler_function | _handler |
Protected Attributes inherited from oe::util::pipeline::Handler< Request, Response > | |
| ConcretePipeline * | _pipeline = nullptr |
Special handler, let you providing a function (handy for simple handlers)
The lambda function prototype should be Response myFunction(Request& request, Handler<Request, Response>* request)
|
inlineoverridevirtual |
Implements oe::util::pipeline::Handler< Request, Response >.