cgv
|
base class for signals that combine the boolean result of the attached functors with boolean and/or operations More...
#include <bool_combiner.h>
Inherited by cgv::signal::bool_signal_impl< 0, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 1, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 2, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 3, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 4, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 5, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 6, T1, T2, T3, T4, T5, T6, T7, T8 >, cgv::signal::bool_signal_impl< 7, T1, T2, T3, T4, T5, T6, T7, T8 >, and cgv::signal::bool_signal_impl< 8, T1, T2, T3, T4, T5, T6, T7, T8 >.
Public Member Functions | |
bool_combiner (const char *opt) | |
construct from option string. More... | |
bool | get_neutral_value () const |
return the neutral bool value with which one can initialize the result variable | |
void | set_options (const char *opt) |
set a different option string | |
bool | is_combination_with_and () const |
return whether combination is done with the boolean and operation | |
bool | is_evaluation_short_circuit () const |
return whether to perform short-circuit evaluation | |
Protected Member Functions | |
bool | combine_result (bool new_value, bool &value) const |
base class for signals that combine the boolean result of the attached functors with boolean and/or operations | |
base class for signals that combine the boolean result of the attached functors with boolean and/or operations
cgv::signal::bool_combiner::bool_combiner | ( | const char * | opt | ) |
construct from option string.
The option string can be composed of the following characters: