iSpike  2.1
Spike conversion library for robotics
D:/Home/Programs/iSpike/include/iSpike/Channel/InputChannel/InputChannelFactory.hpp
Go to the documentation of this file.
00001 #ifndef INPUTCHANNELFACTORY_HPP_
00002 #define INPUTCHANNELFACTORY_HPP_
00003 
00004 //iSpike includes
00005 #include <iSpike/Reader/Reader.hpp>
00006 #include <iSpike/Channel/InputChannel/InputChannel.hpp>
00007 
00008 //Other includes
00009 #include <string>
00010 using namespace std;
00011 
00012 namespace ispike {
00013 
00019         class InputChannelFactory {
00020                 private:
00022                         vector<Description> channelList;
00023 
00024                         //============================  METHODS  =======================
00025                         void printInputChannels();
00026 
00027 
00028                 public:
00029                         InputChannelFactory();
00030                         vector<Description> getAllChannels();
00031                         InputChannel* create(Description& desc, Reader* reader, map<string, Property>& channelProperties);
00032                         map<string, Property> getDefaultProperties(Description& desc);
00033         };
00034 
00035 }
00036 
00037 #endif /* INPUTCHANNELFACTORY_HPP_ */
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines