iSpike
2.1
Spike conversion library for robotics
|
A Factory of Input Channels. More...
#include <InputChannelFactory.hpp>
Public Member Functions | |
InputChannelFactory () | |
vector< Description > | getAllChannels () |
InputChannel * | create (Description &desc, Reader *reader, map< string, Property > &channelProperties) |
map< string, Property > | getDefaultProperties (Description &desc) |
A Factory of Input Channels.
The Input Channel Factory can list all Input Channels available in the system and can produce a particular type of an Input Channel
Definition at line 19 of file InputChannelFactory.hpp.
Default constructor Initialises the list of Input Channels, if you've made a new Input Channel, add it here!
Definition at line 13 of file InputChannelFactory.cpp.
InputChannel * InputChannelFactory::create | ( | Description & | desc, |
Reader * | reader, | ||
map< string, Property > & | channelProperties | ||
) |
Creates a particular Input Channel
Definition at line 27 of file InputChannelFactory.cpp.
vector< Description > InputChannelFactory::getAllChannels | ( | ) |
Returns all Input Channels in the system
Definition at line 21 of file InputChannelFactory.cpp.
map< string, Property > InputChannelFactory::getDefaultProperties | ( | Description & | desc | ) |
Returns the default properties of a particular input channel
Definition at line 44 of file InputChannelFactory.cpp.