iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef OUTPUTCHANNELFACTORY_HPP_ 00002 #define OUTPUTCHANNELFACTORY_HPP_ 00003 00004 //iSpike includes 00005 #include "iSpike/Channel/OutputChannel/OutputChannel.hpp" 00006 #include <iSpike/Writer/Writer.hpp> 00007 00008 //Other includes 00009 #include <string> 00010 using namespace std; 00011 00012 namespace ispike { 00013 00015 class OutputChannelFactory { 00016 private: 00018 vector<Description> channelList; 00019 00020 //============================ METHODS ======================= 00021 void printOutputChannels(); 00022 00023 00024 public: 00025 OutputChannelFactory(); 00026 vector<Description> getAllChannels(); 00027 OutputChannel* create(Description& desc, Writer* writer, map<string, Property>& channelProperties); 00028 map<string, Property> getDefaultProperties(Description& desc); 00029 00030 }; 00031 00032 } 00033 00034 #endif /* OUTPUTCHANNELFACTORY_HPP_ */