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

#include <ReaderFactory.hpp>

List of all members.

Public Member Functions

 ReaderFactory ()
 ReaderFactory (string ip, unsigned port)
Readercreate (Description &desc, map< string, Property > &readerProperties)
map< string, PropertygetDefaultProperties (Description &desc)
vector< DescriptiongetReadersOfType (string readerType)

Detailed Description

Lists all Readers available in the system and can produce a particular type of a Reader

Definition at line 16 of file ReaderFactory.hpp.


Constructor & Destructor Documentation

Default constructor Initialises the list of readers, if you've made a new reader, add it here!

Definition at line 18 of file ReaderFactory.cpp.

ReaderFactory::ReaderFactory ( string  ip,
unsigned  port 
)

Constructor that creates YARP readers as well

Definition at line 26 of file ReaderFactory.cpp.


Member Function Documentation

Reader * ReaderFactory::create ( Description desc,
map< string, Property > &  readerProperties 
)

Creates and initialises a particular reader

Definition at line 72 of file ReaderFactory.cpp.

Returns the default properties of a particular reader

Definition at line 54 of file ReaderFactory.cpp.

vector< Description > ReaderFactory::getReadersOfType ( string  readerType)

Returns readers of a particular type

Definition at line 43 of file ReaderFactory.cpp.


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