Image Component Library (ICL)
DCDeviceFeatures.h
Go to the documentation of this file.
1 /********************************************************************
2 ** Image Component Library (ICL) **
3 ** **
4 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
5 ** Neuroinformatics Group **
6 ** Website: www.iclcv.org and **
7 ** http://opensource.cit-ec.de/projects/icl **
8 ** **
9 ** File : ICLIO/src/ICLIO/DCDeviceFeatures.h **
10 ** Module : ICLIO **
11 ** Authors: Christof Elbrechter **
12 ** **
13 ** **
14 ** GNU LESSER GENERAL PUBLIC LICENSE **
15 ** This file may be used under the terms of the GNU Lesser General **
16 ** Public License version 3.0 as published by the **
17 ** **
18 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
19 ** included in the packaging of this file. Please review the **
20 ** following information to ensure the license requirements will **
21 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt **
22 ** **
23 ** The development of this software was supported by the **
24 ** Excellence Cluster EXC 277 Cognitive Interaction Technology. **
25 ** The Excellence Cluster EXC 277 is a grant of the Deutsche **
26 ** Forschungsgemeinschaft (DFG) in the context of the German **
27 ** Excellence Initiative. **
28 ** **
29 ********************************************************************/
30 
31 #pragma once
32 
33 #include <ICLIO/DCDevice.h>
34 #include <ICLUtils/Configurable.h>
36 
37 
38 namespace icl{
39  namespace io{
40 
43  public:
44 
47 
48  ICLIO_API void show();
51 
52  private:
53  dc1394feature_info_t *getInfoPtr(const std::string &name) const;
54 
56  dc1394featureset_t features;
57  std::map<std::string,dc1394feature_info_t*> featureMap;
59  };
60 
62  ICLIO_API static void delete_func(DCDeviceFeaturesImpl *impl);
63  };
66 
94  class DCDeviceFeatures : public utils::ShallowCopyable<DCDeviceFeaturesImpl,DCDeviceFeaturesImplDelOp>, public utils::Configurable {
95  public:
98 
100  ICLIO_API DCDeviceFeatures(const DCDevice &dev);
101 
102  };
103  } // namespace io
104 }
std::map< std::string, dc1394feature_info_t * > featureMap
Definition: DCDeviceFeatures.h:57
ICLIO_API void processPropertyChange(const utils::Configurable::Property &p)
callback function for property changes.
undocument this line if you encounter any issues!
Definition: Any.h:37
dc1394featureset_t features
Definition: DCDeviceFeatures.h:56
Interface class for cheap copyable classes using a smart ptr.
Definition: ShallowCopyable.h:131
Definition: DCDeviceFeatures.h:42
bool ignorePropertyChange
Definition: DCDeviceFeatures.h:58
virtual ~DCDeviceFeaturesImpl()
Definition: DCDeviceFeatures.h:46
#define ICLIO_API
Definition: CompatMacros.h:176
dc1394feature_info_t * getInfoPtr(const std::string &name) const
ICLIO_API DCDeviceFeaturesImpl(const DCDevice &dev)
DCDevice dev
Definition: DCDeviceFeatures.h:55
Device struct, used by the DCGrabber class to identify devices.
Definition: DCDevice.h:49
Interface for classes that can be configured from configuration-files and GUI-Components.
Definition: Configurable.h:194
Definition: DCDeviceFeatures.h:61
static ICLIO_API void delete_func(DCDeviceFeaturesImpl *impl)
ICLIO_API DCDeviceFeatures()
Base constructor create a null Object.
Represents a single property.
Definition: Configurable.h:200
Utility class for handling DC-Device features.
Definition: DCDeviceFeatures.h:94