cgv
Loading...
Searching...
No Matches
bool_combiner.h
1#pragma once
2
3#include "lib_begin.h"
4
5namespace cgv {
6 namespace signal {
7
9class CGV_API bool_combiner
10{
11protected:
12 bool combine_result(bool new_value, bool& value) const;
13 bool combine_with_and;
14 bool short_circuit;
15public:
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>
base class for signals that combine the boolean result of the attached functors with boolean and/or o...
the cgv namespace
Definition print.h:11