Swarm-NG
1.1
|
Abstract output writer interface. More...
#include <writer.h>
Public Member Functions | |
virtual void | process (const char *log_data, size_t length)=0 |
Produce appropriate output based on log_data input. | |
Static Public Member Functions | |
static shared_ptr< writer > | create (const config &cfg) |
Integrator factory functions (and supporting typedefs) More... | |
Abstract output writer interface.
The method process() is called whenever the GPU output buffers are filled, and should proces/store the accumulated output data and logs (usually by writing them out to a file).
|
static |
Integrator factory functions (and supporting typedefs)
Writer instantiation support.
[in] | cfg | configuration class |
Definition at line 44 of file writer.cpp.
References swarm::plugin::instance(), and swarm::config::optional().
Referenced by swarm::log::manager::init().