iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef READER_HPP_ 00002 #define READER_HPP_ 00003 00004 //iSpike includes 00005 #include "iSpike/ISpikeThread.hpp" 00006 #include "iSpike/PropertyHolder.hpp" 00007 #include <iSpike/Description.hpp> 00008 00009 //Other includes 00010 #include <map> 00011 #include <string> 00012 using namespace std; 00013 00014 namespace ispike { 00015 00018 class Reader : public PropertyHolder, public ISpikeThread { 00019 public: 00020 Reader() : initialized(false) { } 00021 virtual ~Reader(){} 00022 Description getReaderDescription() const { return readerDescription; } 00023 virtual void initialize(map<string, Property>& properties) = 0; 00024 bool isInitialized() { return initialized; } 00025 void setInitialized(bool initialized) { this->initialized = initialized; } 00026 00027 protected: 00028 //======================= VARIABLES ========================= 00030 Description readerDescription; 00031 00032 00033 private: 00035 bool initialized; 00036 00037 }; 00038 00039 } 00040 00041 #endif /* READER_HPP_ */