Fawkes API Fawkes Development Version
mini_image_producer.h
1
2/***************************************************************************
3 * mini_image.h - mini image supplier
4 *
5 * Generated: Tue May 16 15:46:19 2006 (Automatica 2006)
6 * Copyright 2005-2006 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_FOUNTAIN_MINI_IMAGE_H_
24#define _FIREVISION_APPS_FOUNTAIN_MINI_IMAGE_H_
25
26namespace fawkes {
27class Logger;
28}
29namespace firevision {
30class Scaler;
31class SharedMemoryImageBuffer;
32} // namespace firevision
33
35{
36public:
37 MiniImageProducer(const char * orig_id,
38 const char * mini_id,
39 firevision::Scaler *scaler,
40 fawkes::Logger * logger);
41
43
44 bool isValid();
45 void produce();
46
47private:
48 fawkes::Logger * logger;
49 firevision::Scaler * scaler;
52
53 float scale_factor;
54};
55
56#endif
Mini image producer.
void produce()
Produce mini image.
bool isValid()
Check if all data is valid.
~MiniImageProducer()
Destructor.
MiniImageProducer(const char *orig_id, const char *mini_id, firevision::Scaler *scaler, fawkes::Logger *logger)
Constructor.
Interface for logging.
Definition: logger.h:42
Image scaler interface.
Definition: scaler.h:30
Shared memory image buffer.
Definition: shm_image.h:184
Fawkes library namespace.