|
SIMLIB/C++
3.07
|
continuous block connection (transparent reference) wrapper for pointer to objects of aContiBlock derived classes
(small object, without virtual methods)
It is used for referencing of continuous blocks in block-expressions.
More...
#include <simlib.h>

Public Member Functions | |
| Input (const Input &i) | |
| transparent copy of block reference More... | |
| Input (aContiBlock &cb) | |
| reference to block More... | |
| Input (aContiBlock *cb) | |
| pointer to block More... | |
| Input (const double c) | |
| create block of type Constant WARNING: using C++ variable in block expression creates Constant block More... | |
| ~Input () | |
| Input | Set (Input i) |
| Redirect the reference. More... | |
| Input & | operator= (const Input &x) |
| Redirect the reference. More... | |
| double | Value () const |
| get target block value More... | |
| bool | operator== (aContiBlock *p) const |
Private Member Functions | |
| Input ()=delete | |
Private Attributes | |
| aContiBlock * | bp |
continuous block connection (transparent reference) wrapper for pointer to objects of aContiBlock derived classes
(small object, without virtual methods)
It is used for referencing of continuous blocks in block-expressions.
All references are transparent. There is a problem with initialization order. Using uninitialized Input is an error. If you need a block independent on initialization order, use Expression.
|
privatedelete |
|
inline |
transparent copy of block reference
Definition at line 900 of file simlib.h.
References RegisterReference.
|
inline |
|
inline |
|
inline |
create block of type Constant WARNING: using C++ variable in block expression creates Constant block
Definition at line 908 of file simlib.h.
References RegisterReference.
|
inline |
Definition at line 910 of file simlib.h.
References UnRegisterReference.
Redirect the reference.
Definition at line 923 of file simlib.h.
References bp, RegisterReference, and UnRegisterReference.
|
inline |
Redirect the reference.
Definition at line 913 of file simlib.h.
References bp, RegisterReference, and UnRegisterReference.
Referenced by simlib3::Integrator::SetInput(), and simlib3::Condition::SetInput().
|
inline |
get target block value
Definition at line 931 of file simlib.h.
References simlib3::aContiBlock::Value().
Referenced by simlib3::aContiBlock2::Input1Value(), simlib3::aContiBlock3::Input1Value(), simlib3::aContiBlock2::Input2Value(), simlib3::aContiBlock3::Input2Value(), simlib3::aContiBlock3::Input3Value(), simlib3::aContiBlock1::InputValue(), simlib3::Integrator::InputValue(), simlib3::Condition::Test(), simlib3::Adaptor2D::Value(), simlib3::Adaptor3D::Value(), simlib3::_Mul2D1D::Value(), simlib3::_Mul3D1D::Value(), simlib3::_Div2D::Value(), and simlib3::_Div3D::Value().
|
private |
Definition at line 896 of file simlib.h.
Referenced by operator=(), and Set().
1.8.13