|
iSpike
2.1
Spike conversion library for robotics
|
#include <ReaderFactory.hpp>
Public Member Functions | |
| ReaderFactory () | |
| ReaderFactory (string ip, unsigned port) | |
| Reader * | create (Description &desc, map< string, Property > &readerProperties) |
| map< string, Property > | getDefaultProperties (Description &desc) |
| vector< Description > | getReadersOfType (string readerType) |
Lists all Readers available in the system and can produce a particular type of a Reader
Definition at line 16 of file ReaderFactory.hpp.
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.
| Reader * ReaderFactory::create | ( | Description & | desc, |
| map< string, Property > & | readerProperties | ||
| ) |
Creates and initialises a particular reader
Definition at line 72 of file ReaderFactory.cpp.
| map< string, Property > ReaderFactory::getDefaultProperties | ( | Description & | desc | ) |
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.