iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef OUTPUTCHANNEL_H_ 00002 #define OUTPUTCHANNEL_H_ 00003 00004 #include <iSpike/Channel/Channel.hpp> 00005 #include <iSpike/Description.hpp> 00006 #include <iSpike/Writer/Writer.hpp> 00007 00008 namespace ispike { 00009 00012 class OutputChannel : public Channel { 00013 public: 00014 00015 virtual ~OutputChannel() {} 00016 Description getChannelDescription() { return channelDescription; } 00017 00022 virtual void initialize(Writer* writer, map<string, Property>& properties) = 0; 00023 00025 virtual void setFiring(const std::vector<unsigned>& buffer) = 0; 00026 00027 protected: 00028 00030 Description channelDescription; 00031 00032 }; 00033 } 00034 00035 #endif /* OUTPUTCHANNEL_H_ */