MachineIntelligenceCore:Visualization
OpenGLEpisodicApplication.hpp
Go to the documentation of this file.
1 
23 #ifndef SRC_OPENGL_APPLICATION_OPENGLEPISODICAPPLICATION_HPP_
24 #define SRC_OPENGL_APPLICATION_OPENGLEPISODICAPPLICATION_HPP_
25 
27 
28 namespace mic {
29 namespace opengl {
30 namespace application {
31 
40 public:
45  OpenGLEpisodicApplication(std::string node_name_);
46 
51 
56  virtual void processingThread(void);
57 
58 protected:
59 
63  virtual void startNewEpisode() = 0;
64 
68  virtual void finishCurrentEpisode() = 0;
69 
70 
72  unsigned long episode;
73 
77  mic::configuration::Property<long> number_of_episodes;
78 
79 };
80 
81 
82 } /* namespace application */
83 } /* namespace opengl */
84 } /* namespace mic */
85 
86 #endif /* SRC_OPENGL_APPLICATION_OPENGLEPISODICAPPLICATION_HPP_ */
An abstract class implementing basic functions for two-threaded, OpenGL-based applications. Introduces the execution phases that are typical for all learning/classification applications, imposes fine code granulation.
virtual void processingThread(void)
Function realizing the processing thread. Implements basic quit/pause/single step functionality...
Parent class for all applications basing on episodes, without distinguising learning and training pha...