CLAM-Development  1.4.0
FlagControl.hxx
Go to the documentation of this file.
1 
2 #ifndef _FlagControl_hxx_
3 #define _FlagControl_hxx_
4 
5 #include "DataTypes.hxx"
6 #include "OutControl.hxx"
7 #include "Processing.hxx"
8 #include "ProcessingConfig.hxx"
9 #include <string>
10 
11 namespace CLAM
12 {
13 
15 {
16 public:
18  DYN_ATTRIBUTE (0, public, std::string, Name);
19  DYN_ATTRIBUTE (1, public, bool, Flag );
20 protected:
21  void DefaultInit(void);
22 };
23 
24 class FlagControl : public Processing
25 {
26 private:
27 
28  FlagControlConfig mConfig;
29  FloatOutControl mFlagOutControl;
30 
31 public:
32  FlagControl();
33  FlagControl( const FlagControlConfig & );
34 
35  bool Do();
36  virtual ~FlagControl(){}
37  const char * GetClassName() const {return "FlagControl";}
38 
39  inline const ProcessingConfig &GetConfig() const { return mConfig;}
40  bool ConcreteConfigure(const ProcessingConfig& c);
41 
42 };
43 
44 } //namespace CLAM
45 
46 #endif
47