class logic_switch : public logic_base

logic_switch has three inputs, "bool", "high" and "low", and returns high if bool > threshold, otherwise returns low

Inheritance:


Public Methods

void action()
logic_switch(const string& name_arg = "", const module* parent_arg = NULL)
module* new_type(const string& name_arg, const module* parent_arg)
void sub_sub_load(void)
~logic_switch()

Inherited from logic_base:

Public Methods

virtual adlib_real get_false_val( void )
virtual adlib_real get_true_val( void )
virtual bool is_false( const adlib_real val )
virtual bool is_true( const adlib_real val )

Protected Fields

adlib_real false_val
adlib_real threshold
adlib_real true_val

Protected

Default values

static const adlib_real THRESHOLD_DEF
static const adlib_real TRUE_DEF
static const adlib_real FALSE_DEF

Documentation

logic_switch has three inputs, "bool", "high" and "low", and returns high if bool > threshold, otherwise returns low
logic_switch(const string& name_arg = "", const module* parent_arg = NULL)

~logic_switch()

module* new_type(const string& name_arg, const module* parent_arg)

void action()

void sub_sub_load(void)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de