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

A writer plugin that keeps the data in the memory. More...

#include <host_array_writer.hpp>

Inheritance diagram for swarm::log::host_array_writer:
swarm::log::writer

Public Member Functions

 host_array_writer (const config &cfg)
 Constructor for host_array_writer. More...
 
void add_event_type_to_log (const int et)
 Add the event type to the log.
 
 ~host_array_writer ()
 Destructor.
 
virtual void process (const char *log_data, size_t length)
 Process the log data.
 

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

A writer plugin that keeps the data in the memory.

EXPERIMENTAL: This class is not thoroughly tested.

Definition at line 123 of file host_array_writer.hpp.

Constructor & Destructor Documentation

swarm::log::host_array_writer::host_array_writer ( const config cfg)

Constructor for host_array_writer.

Implement the constructor.

Definition at line 39 of file host_array_writer.cpp.

References add_event_type_to_log(), swarm::config::optional(), swarm::config::require(), and swarm::config::valid().


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