iSpike  2.1
Spike conversion library for robotics
ispike::WriterFactory Class Reference

#include <WriterFactory.hpp>

List of all members.

Public Member Functions

 WriterFactory ()
 WriterFactory (std::string ip, unsigned port)
Writercreate (Description &desc, map< string, Property > &writerProperties)
map< string, PropertygetDefaultProperties (Description &desc)
vector< DescriptiongetWritersOfType (string writerType)

Detailed Description

List all Writers available in the system and creates a particular type of a Writer

Definition at line 16 of file WriterFactory.hpp.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

Writer * WriterFactory::create ( Description desc,
map< string, Property > &  writerProperties 
)

Creates a particular writer

Definition at line 60 of file WriterFactory.cpp.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines