Swarm-NG  1.1
swarm::writer_plugin_initializer< T > Struct Template Reference

Template to add a new writer plugin to swarm. More...

#include <plugin.hpp>

Inheritance diagram for swarm::writer_plugin_initializer< T >:
swarm::basic_plugin_initializer< T >

Additional Inherited Members

- Public Member Functions inherited from swarm::basic_plugin_initializer< T >
 basic_plugin_initializer (const std::string &id, const std::string &description=std::string())
 Register the a basic_plugin<T> with specified id and description.
 

Detailed Description

template<class T>
struct swarm::writer_plugin_initializer< T >

Template to add a new writer plugin to swarm.

This is rarely used. But if you have another output method for swarm log files. you can create a plugin and add it like this ( put in global scope ):

writer_plugin_initializer< alternate_output > alternate_output_initializer
("alternate_output" , "This is my alternative output writer that I implemented" );

Definition at line 178 of file plugin.hpp.


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