iSpike  2.1
Spike conversion library for robotics
D:/Home/Programs/iSpike/include/iSpike/Writer/Writer.hpp
Go to the documentation of this file.
00001 #ifndef WRITER_HPP_
00002 #define WRITER_HPP_
00003 
00004 //iSpike includes
00005 #include "iSpike/PropertyHolder.hpp"
00006 #include <iSpike/Description.hpp>
00007 #include <iSpike/Log/Log.hpp>
00008 #include "iSpike/ISpikeThread.hpp"
00009 
00010 //Other includes
00011 #include <map>
00012 #include <string>
00013 using namespace std;
00014 
00015 namespace ispike {
00016 
00019         class Writer : public PropertyHolder, public ISpikeThread {
00020                 public:
00021                         Writer(){ initialized = false; }
00022                         virtual ~Writer(){}
00023                         Description getWriterDescription() const { return writerDescription; }
00024                         virtual void initialize(map<string, Property>& properties) = 0;
00025                         bool isInitialized() { return initialized; }
00026                         void setInitialized(bool initialized) { this->initialized = initialized; }
00027 
00028                 protected:
00030                         Description writerDescription;
00031 
00032 
00033                 private:
00035                         bool initialized;
00036 
00037         };
00038 
00039 }
00040 
00041 #endif /* WRITER_HPP_ */
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines