iSpike
2.1
Spike conversion library for robotics
|
#include <WriterFactory.hpp>
Public Member Functions | |
WriterFactory () | |
WriterFactory (std::string ip, unsigned port) | |
Writer * | create (Description &desc, map< string, Property > &writerProperties) |
map< string, Property > | getDefaultProperties (Description &desc) |
vector< Description > | getWritersOfType (string writerType) |
List all Writers available in the system and creates a particular type of a Writer
Definition at line 16 of file WriterFactory.hpp.
Default constructor Initialises the list of writers, if you've made a new writer, add it here!
Definition at line 12 of file WriterFactory.cpp.
ispike::WriterFactory::WriterFactory | ( | std::string | ip, |
unsigned | port | ||
) |
Writer * WriterFactory::create | ( | Description & | desc, |
map< string, Property > & | writerProperties | ||
) |
Creates a particular writer
Definition at line 60 of file WriterFactory.cpp.
map< string, Property > WriterFactory::getDefaultProperties | ( | Description & | desc | ) |
Returns the default properties of a particular writer
Definition at line 48 of file WriterFactory.cpp.
vector< Description > WriterFactory::getWritersOfType | ( | string | writerType | ) |
Returns all writers of a particular type
Definition at line 37 of file WriterFactory.cpp.