SIMLIB/C++  3.07
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
simlib3::aContiBlock2D Class Referenceabstract

Abstract 2D block with single 2D output. More...

#include <simlib2D.h>

Inheritance diagram for simlib3::aContiBlock2D:
Inheritance graph
[legend]
Collaboration diagram for simlib3::aContiBlock2D:
Collaboration graph
[legend]

Public Member Functions

 aContiBlock2D ()
 
 ~aContiBlock2D ()
 
virtual void _Eval ()
 
virtual Value2D Value ()=0
 
void Print ()
 
- 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 Attributes

bool isEvaluated
 
- Protected Attributes inherited from simlib3::SimObject
unsigned _flags
 bool flags for internal use (TODO bitfield?) More...
 

Private Member Functions

virtual void Eval ()
 

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 }
 

Detailed Description

Abstract 2D block with single 2D output.

Definition at line 60 of file simlib2D.h.

Constructor & Destructor Documentation

◆ aContiBlock2D()

simlib3::aContiBlock2D::aContiBlock2D ( )

Definition at line 92 of file simlib2D.cc.

References Dprintf.

◆ ~aContiBlock2D()

simlib3::aContiBlock2D::~aContiBlock2D ( )

Definition at line 98 of file simlib2D.cc.

References Dprintf.

Member Function Documentation

◆ _Eval()

void simlib3::aContiBlock2D::_Eval ( )
virtual

◆ Eval()

virtual void simlib3::aContiBlock2D::Eval ( )
inlineprivatevirtual

Definition at line 64 of file simlib2D.h.

References simlib3::Value2D::Print().

Referenced by _Eval().

◆ Print()

void simlib3::aContiBlock2D::Print ( )

Definition at line 105 of file simlib2D.cc.

References simlib3::Value2D::Print(), and Value().

◆ Value()

virtual Value2D simlib3::aContiBlock2D::Value ( )
pure virtual

Member Data Documentation

◆ isEvaluated

bool simlib3::aContiBlock2D::isEvaluated
protected

Definition at line 62 of file simlib2D.h.

Referenced by _Eval().


The documentation for this class was generated from the following files: