cgv
bool_combiner.h
1 #pragma once
2 
3 #include "lib_begin.h"
4 
5 namespace cgv {
6  namespace signal {
7 
9 class CGV_API bool_combiner
10 {
11 protected:
12  bool combine_result(bool new_value, bool& value) const;
13  bool combine_with_and;
14  bool short_circuit;
15 public:
17 
24  bool_combiner(const char* opt);
26  bool get_neutral_value() const;
28  void set_options(const char* opt);
30  bool is_combination_with_and() const;
32  bool is_evaluation_short_circuit() const;
33 };
34  }
35 }
36 #include <cgv/config/lib_end.h>
cgv::signal::bool_combiner
base class for signals that combine the boolean result of the attached functors with boolean and/or o...
Definition: bool_combiner.h:10
cgv
the cgv namespace
Definition: vr_calib.cxx:9