|
SIMLIB/C++ 3.09
|
change detector - Boolean version (int) More...
#include <simlib.h>


Public Member Functions | |
| Condition (Input i) | |
| ~Condition () | |
| bool | Value () |
| boolean state of condition | |
| Input | SetInput (Input inp) |
Public Member Functions inherited from simlib3::aCondition | |
| aCondition () | |
| ~aCondition () | |
Public Member Functions inherited from simlib3::SimObject | |
| bool | TestAndSetFlag (bool new_value, unsigned n) |
| internal method for flag manipulation is used for algebraic loop checking in continuous blocks | |
| SimObject () | |
| constructor | |
| virtual | ~SimObject () |
| virtual destructor | |
| void * | operator new (size_t size) |
| allocate object, set _flags | |
| void | operator delete (void *ptr) |
| deallocate object | |
| void * | operator new[] (size_t size)=delete |
| void | operator delete[] (void *ptr)=delete |
| bool | isAllocated () const |
| virtual std::string | Name () const |
| get object name | |
| bool | HasName () const |
| void | SetName (const std::string &name) |
| assign the name | |
| virtual void | Output () const |
| print object to default output | |
Protected Member Functions | |
| virtual bool | Test () override |
| Condition::operator () | |
| bool | Up () |
| bool | Down () |
| bool | Change () |
Private Member Functions | |
| virtual void | Init () override |
| initialize | |
| virtual void | SetNewStatus () override |
| update | |
Private Attributes | |
| Input | in |
| unsigned char | cc |
| state | |
| unsigned char | ccl |
| old state | |
Additional Inherited Members | |
Public Types inherited from simlib3::SimObject | |
| enum | _Flags { _CLEAR_ALL_FLAGS = 0 , _ALLOCATED_FLAG = 1<<0 , _EVAL_FLAG = 1<<1 , _HAS_NAME_FLAG = 1<<2 } |
Static Public Member Functions inherited from simlib3::aCondition | |
| static void | InitAll () |
| static void | SetAll () |
| static void | TestAll () |
| static void | AllActions () |
| static bool | isAny () |
Protected Attributes inherited from simlib3::SimObject | |
| unsigned | _flags |
| bool flags for internal use (TODO bitfield?) | |
|
inlineprotected |
|
inlineprotected |
Definition at line 1515 of file simlib.h.
Referenced by simlib3::ConditionDown::Test().
|
overrideprivatevirtual |
Definition at line 1521 of file simlib.h.
References in, and simlib3::Input::Set().
|
overrideprivatevirtual |
|
overrideprotectedvirtual |
Condition::operator ()
Implements simlib3::aCondition.
Reimplemented in simlib3::ConditionUp, and simlib3::ConditionDown.
Definition at line 106 of file cond.cc.
References cc, Change(), simlib3::ContractStep(), in, simlib3::SIMLIB_ConditionFlag, simlib3::SIMLIB_DynamicFlag, and simlib3::Input::Value().
Referenced by simlib3::ConditionUp::Test(), and simlib3::ConditionDown::Test().
|
inlineprotected |
Definition at line 1514 of file simlib.h.
Referenced by simlib3::ConditionUp::Test().
|
inline |
|
private |
|
private |
|
private |
Definition at line 1507 of file simlib.h.
Referenced by SetInput(), and Test().