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


Public Member Functions | |
| Condition (Input i) | |
| ~Condition () | |
| bool | Value () |
| boolean state of condition More... | |
| 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 More... | |
| SimObject () | |
| constructor More... | |
| virtual | ~SimObject () |
| virtual destructor More... | |
| void * | operator new (size_t size) |
| allocate object, set _flags More... | |
| void | operator delete (void *ptr) |
| deallocate object More... | |
| void * | operator new[] (size_t size)=delete |
| void | operator delete[] (void *ptr)=delete |
| bool | isAllocated () const |
| virtual std::string | Name () const |
| get object name More... | |
| bool | HasName () const |
| void | SetName (const std::string &name) |
| assign the name More... | |
| virtual void | Output () const |
| print object to default output More... | |
Protected Member Functions | |
| virtual bool | Test () override |
| Condition::operator () More... | |
| bool | Up () |
| bool | Down () |
| bool | Change () |
Private Member Functions | |
| virtual void | Init () override |
| initialize More... | |
| virtual void | SetNewStatus () override |
| update More... | |
Private Attributes | |
| Input | in |
| unsigned char | cc |
| state More... | |
| unsigned char | ccl |
| old state More... | |
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?) More... | |
|
inlineprotected |
|
overrideprivatevirtual |
Definition at line 1521 of file simlib.h.
References simlib3::Input::Set().
|
overrideprivatevirtual |
|
overrideprotectedvirtual |
Condition::operator ()
Implements simlib3::aCondition.
Reimplemented in simlib3::ConditionDown, and simlib3::ConditionUp.
Definition at line 106 of file cond.cc.
References cc, Change(), simlib3::ContractStep(), in, simlib3::SIMLIB_DynamicFlag, and simlib3::Input::Value().
Referenced by simlib3::ConditionUp::Test(), and simlib3::ConditionDown::Test().
|
inline |
|
private |
|
private |
|
private |
1.8.13