iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef INPUTCHANNEL_H_ 00002 #define INPUTCHANNEL_H_ 00003 00004 #include <iSpike/Channel/Channel.hpp> 00005 #include <iSpike/Description.hpp> 00006 #include <iSpike/Reader/AngleReader.hpp> 00007 #include <iSpike/PropertyHolder.hpp> 00008 00009 #include <vector> 00010 #include <string> 00011 00012 namespace ispike { 00013 00018 class InputChannel : public Channel { 00019 public: 00020 virtual ~InputChannel(){} 00021 Description getChannelDescription() { return channelDescription; } 00022 00024 virtual const std::vector<unsigned>& getFiring() = 0; 00025 00030 virtual void initialize(Reader* reader, map<std::string, Property>& properties) = 0; 00031 00032 protected: 00033 Description channelDescription; 00034 }; 00035 00036 } 00037 00038 #endif /* INPUTCHANNEL_H_ */