Fawkes API  Fawkes Development Version
pipeline_thread.h
1 
2 /***************************************************************************
3  * pipeline_thread.h - SrSave Pipeline Thread
4  *
5  * Created: Fri Jan 22 10:50:42 2010
6  * Copyright 2005-2010 Tim Niemueller [www.niemueller.de]
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL file in the doc directory.
21  */
22 
23 #ifndef __FIREVISION_APPS_SRSAVE_PIPELINE_THREAD_H_
24 #define __FIREVISION_APPS_SRSAVE_PIPELINE_THREAD_H_
25 
26 #include <core/threading/thread.h>
27 
28 #include <aspect/configurable.h>
29 #include <aspect/logging.h>
30 #include <aspect/vision.h>
31 #include <aspect/blackboard.h>
32 
33 namespace firevision {
34  class Camera;
35 }
36 
38 : public fawkes::Thread,
39  public fawkes::LoggingAspect,
40  public fawkes::VisionAspect,
43 {
44  public:
46  virtual ~FvSrSavePipelineThread();
47 
48  virtual void init();
49  virtual void finalize();
50  virtual void loop();
51 
52  private:
53  firevision::Camera *__cam;
54 
55  unsigned int __frame_i;
56 };
57 
58 #endif /* __FIREVISION_APPS_SRSAVE_PIPELINE_THREAD_H_ */
Thread aspect to access to BlackBoard.
Definition: blackboard.h:34
Camera interface for image aquiring devices in FireVision.
Definition: camera.h:35
Thread class encapsulation of pthreads.
Definition: thread.h:42
SrSave vision image processing pipeline.
Thread aspect to use in FireVision apps.
Definition: vision.h:35
Thread aspect to log output.
Definition: logging.h:35
Thread aspect to access configuration data.
Definition: configurable.h:35