SIMLIB/C++
3.07
|
Abstract 3D block with single 3D output. More...
#include <simlib3D.h>
Public Member Functions | |
aContiBlock3D () | |
~aContiBlock3D () | |
virtual void | _Eval () |
virtual Value3D | Value ()=0 |
void | Print () |
![]() | |
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 Attributes | |
bool | isEvaluated |
![]() | |
unsigned | _flags |
bool flags for internal use (TODO bitfield?) More... | |
Private Member Functions | |
virtual void | Eval () |
Additional Inherited Members | |
![]() | |
enum | _Flags { _CLEAR_ALL_FLAGS = 0, _ALLOCATED_FLAG = 1<<0, _EVAL_FLAG = 1<<1, _HAS_NAME_FLAG = 1<<2 } |
Abstract 3D block with single 3D output.
Definition at line 62 of file simlib3D.h.
simlib3::aContiBlock3D::aContiBlock3D | ( | ) |
Definition at line 90 of file simlib3D.cc.
References Dprintf.
simlib3::aContiBlock3D::~aContiBlock3D | ( | ) |
Definition at line 96 of file simlib3D.cc.
References Dprintf.
|
virtual |
Reimplemented in simlib3::_Norm3D, simlib3::_UMinus3D, simlib3::_Div3D, simlib3::_Mul3D1D, simlib3::_Mul3D, simlib3::_Sub3D, and simlib3::_Add3D.
Definition at line 111 of file simlib3D.cc.
References simlib3::AlgLoopDetected, Eval(), isEvaluated, and simlib3::SIMLIB_error().
|
inlineprivatevirtual |
Definition at line 66 of file simlib3D.h.
References simlib3::Value3D::Print().
Referenced by _Eval().
void simlib3::aContiBlock3D::Print | ( | ) |
Definition at line 103 of file simlib3D.cc.
References simlib3::Value3D::Print(), and Value().
|
pure virtual |
Implemented in simlib3::_Norm3D, simlib3::_UMinus3D, simlib3::_Div3D, simlib3::_Mul3D1D, simlib3::_Mul3D, simlib3::_Sub3D, simlib3::_Add3D, simlib3::Integrator3D, simlib3::Adaptor3D, simlib3::Expression3D, simlib3::Variable3D, and simlib3::Constant3D.
Referenced by Print(), and simlib3::Input3D::Value().
|
protected |
Definition at line 64 of file simlib3D.h.
Referenced by _Eval().