Swarm-NG  1.1
swarm::log::bdb_writer Class Reference

Writer plugin to output the log into a Berkeley-DB database. More...

Inheritance diagram for swarm::log::bdb_writer:
swarm::log::writer

Public Member Functions

 bdb_writer (const config &cfg)
 constructor for bdb_writer
 
virtual void process (const char *log_data, size_t length)
 Process the log data and put them in the database.
 
 ~bdb_writer ()
 Destructor.
 

Additional Inherited Members

- Static Public Member Functions inherited from swarm::log::writer
static shared_ptr< writercreate (const config &cfg)
 Integrator factory functions (and supporting typedefs) More...
 

Detailed Description

Writer plugin to output the log into a Berkeley-DB database.

To use this, add following lines to your integration configuration file

log_output = bdb log_output_db = <fileName>

Replace <fileName> with the name of the output file without extension. the db extension will be added automatically.

EXPERIMENTAL: This class is not thoroughly tested.

Definition at line 57 of file bdb_writer.cpp.


The documentation for this class was generated from the following file: