My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
comp_1bit Struct Reference

#include <comp_1bit.h>

Inheritance diagram for comp_1bit:
Inheritance graph
[legend]
Collaboration diagram for comp_1bit:
Collaboration graph
[legend]

Public Member Functions

 comp_1bit ()
 
 ~comp_1bit ()
 
ComponentnewOne ()
 
 CREATOR (comp_1bit)
 
void initDC (void)
 
void restartDC (void)
 
void calcDC (void)
 
void saveOperatingPoints (void)
 
void loadOperatingPoints (void)
 
void calcOperatingPoints (void)
 
void initAC (void)
 
void calcAC (nr_double_t)
 
void initSP (void)
 
void calcSP (nr_double_t)
 
void calcNoiseAC (nr_double_t)
 
void calcNoiseSP (nr_double_t)
 
void initTR (void)
 
void calcTR (nr_double_t)
 
void initHB (int)
 
void calcHB (int)
 
- Public Member Functions inherited from circuit
 circuit ()
 
 circuit (int)
 
 circuit (const circuit &)
 
 ~circuit ()
 
virtual void initNoiseSP (void)
 
virtual void initNoiseAC (void)
 
virtual void initHB (void)
 
virtual void calcHB (nr_double_t)
 
virtual void calcCharacteristics (nr_double_t)
 
virtual void saveCharacteristics (nr_double_t)
 
void setNode (int, const char *, int intern=0)
 
nodegetNode (int)
 
void setType (int t)
 
int getType (void)
 
int getSize (void)
 
void setSize (int)
 
bool isEnabled (void)
 
void setEnabled (bool e)
 
bool isVariableSized (void)
 
void setVariableSized (bool v)
 
bool isProbe (void)
 
void setProbe (bool p)
 
void setNet (net *n)
 
netgetNet (void)
 
char * getSubcircuit (void)
 
void setSubcircuit (char *)
 
environmentgetEnv (void)
 
void setEnv (environment *e)
 
void setInternalVoltageSource (bool i)
 
bool isInternalVoltageSource (void)
 
void setVoltageSource (int s)
 
int getVoltageSource (void)
 
int getVoltageSources (void)
 
void setVoltageSources (int)
 
void voltageSource (int, int, int, nr_double_t value=0.0)
 
bool isVSource (void)
 
void setVSource (bool v)
 
bool isISource (void)
 
void setISource (bool i)
 
int getNoiseSources (void)
 
void setNoiseSources (int)
 
void transientCapacitance (int, int, int, nr_double_t, nr_double_t, nr_double_t)
 
void transientCapacitance (int, int, nr_double_t, nr_double_t, nr_double_t)
 
void transientCapacitanceQ (int, int, int, nr_double_t)
 
void transientCapacitanceQ (int, int, nr_double_t)
 
void transientCapacitanceC (int, int, int, int, nr_double_t, nr_double_t)
 
void transientCapacitanceC (int, int, nr_double_t, nr_double_t)
 
void transientCapacitanceC2V (int, int, int, nr_double_t, nr_double_t)
 
void transientCapacitanceC2Q (int, int, int, nr_double_t, nr_double_t)
 
void setDelta (nr_double_t *d)
 
nr_double_t * getDelta (void)
 
bool hasHistory (void)
 
void setHistory (bool h)
 
void initHistory (nr_double_t)
 
void deleteHistory (void)
 
void appendHistory (int, nr_double_t)
 
void applyHistory (history *)
 
nr_double_t getV (int, nr_double_t)
 
nr_double_t getJ (int, nr_double_t)
 
nr_double_t getHistoryAge (void)
 
int getPort (void)
 
void setPort (int p)
 
int getInserted (void)
 
void setInserted (int i)
 
bool isOriginal (void)
 
void setOriginal (bool o)
 
substrategetSubstrate (void)
 
void setSubstrate (substrate *)
 
nr_complex_t getS (int, int)
 
nr_complex_t getN (int, int)
 
nr_complex_t getY (int, int)
 
nr_complex_t getB (int, int)
 
nr_complex_t getC (int, int)
 
nr_complex_t getD (int, int)
 
nr_complex_t getQV (int, int)
 
nr_complex_t getGV (int)
 
nr_complex_t getCV (int)
 
nr_complex_t getE (int)
 
nr_complex_t getI (int)
 
nr_complex_t getJ (int)
 
nr_complex_t getV (int)
 
nr_complex_t getQ (int)
 
nr_double_t getG (int, int)
 
void setS (int, int, nr_complex_t)
 
void setN (int, int, nr_complex_t)
 
void setY (int, int, nr_complex_t)
 
void setB (int, int, nr_complex_t)
 
void setC (int, int, nr_complex_t)
 
void setD (int, int, nr_complex_t)
 
void setQV (int, int, nr_complex_t)
 
void setGV (int, nr_complex_t)
 
void setCV (int, nr_complex_t)
 
void setE (int, nr_complex_t)
 
void setI (int, nr_complex_t)
 
void setJ (int, nr_complex_t)
 
void setV (int, nr_complex_t)
 
void setQ (int, nr_complex_t)
 
void setG (int, int, nr_double_t)
 
void clearB (void)
 
void clearC (void)
 
void clearD (void)
 
void clearE (void)
 
void clearI (void)
 
void clearJ (void)
 
void clearV (void)
 
void clearY (void)
 
void addY (int, int, nr_complex_t)
 
void addY (int, int, nr_double_t)
 
void addI (int, nr_complex_t)
 
void addI (int, nr_double_t)
 
void addOperatingPoint (const char *, nr_double_t)
 
nr_double_t getOperatingPoint (const char *)
 
void setOperatingPoint (const char *, nr_double_t)
 
int hasOperatingPoint (char *)
 
valuelist< operatingpoint > & getOperatingPoints (void)
 
void addCharacteristic (const char *, nr_double_t)
 
nr_double_t getCharacteristic (char *)
 
void setCharacteristic (const char *, nr_double_t)
 
int hasCharacteristic (char *)
 
valuelist< characteristic > & getCharacteristics (void)
 
void setNonLinear (bool l)
 
bool isNonLinear (void)
 
void print (void)
 
void setInternalNode (int, const char *)
 
void allocMatrixS (void)
 
void allocMatrixN (int sources=0)
 
void allocMatrixMNA (void)
 
void freeMatrixMNA (void)
 
void allocMatrixHB (void)
 
void freeMatrixHB (void)
 
void setMatrixS (matrix)
 
matrix getMatrixS (void)
 
void setMatrixN (matrix)
 
matrix getMatrixN (void)
 
void setMatrixY (matrix)
 
matrix getMatrixY (void)
 
- Public Member Functions inherited from object
 object ()
 
 object (const char *)
 
 object (const object &)
 
virtual ~object ()
 
objectgetNext (void)
 
void setNext (object *o)
 
objectgetPrev (void)
 
void setPrev (object *o)
 
void setName (const char *)
 
char * getName (void)
 
void addProperty (property *)
 
propertyaddProperty (const char *, const char *)
 
propertyaddProperty (const char *, nr_double_t)
 
propertyaddProperty (const char *, variable *)
 
void setProperty (const char *, char *)
 
void setProperty (const char *, nr_double_t)
 
void setScaledProperty (const char *, nr_double_t)
 
void setProperty (const char *, variable *)
 
vectorgetPropertyVector (const char *)
 
char * getPropertyString (const char *)
 
char * getPropertyReference (const char *)
 
nr_double_t getPropertyDouble (const char *)
 
nr_double_t getScaledProperty (const char *)
 
int getPropertyInteger (const char *)
 
bool hasProperty (const char *)
 
bool isPropertyGiven (const char *)
 
void copyProperties (property *)
 
void deleteProperties (void)
 
int countProperties (void)
 
char * propertyList (void)
 
- Public Member Functions inherited from integrator
 integrator ()
 
 integrator (const integrator &)
 
 ~integrator ()
 
void setIntegration (integrate_func_t f)
 
void setConductance (conductor_func_t f)
 
void integrate (int, nr_double_t, nr_double_t &, nr_double_t &)
 
void conductor (nr_double_t, nr_double_t &)
 
void setOrder (int o)
 
int getOrder (void)
 
void setMode (int s)
 
int getMode (void)
 
void setCoefficients (nr_double_t *c)
 
nr_double_t * getCoefficients (void)
 
- Public Member Functions inherited from states< nr_double_t >
 states ()
 
 states (const states &)
 
 ~states ()
 
nr_double_t getState (int, int n=0)
 
void setState (int, nr_double_t, int n=0)
 
void initStates (void)
 
void clearStates (void)
 
int getStates (void)
 
void setStates (int n)
 
void nextState (void)
 
void prevState (void)
 
void fillState (int, nr_double_t)
 
void saveState (int, nr_double_t *)
 
- Public Member Functions inherited from Component
 Component ()
 
virtual ~Component ()
 
virtual void recreate (Schematic *)
 
QString getNetlist ()
 
QString get_VHDL_Code (int)
 
QString get_Verilog_Code (int)
 
void paint (ViewPainter *)
 
void paintScheme (QPainter *)
 
void print (ViewPainter *, float)
 
void setCenter (int, int, bool relative=false)
 
void getCenter (int &, int &)
 
int textSize (int &, int &)
 
void Bounding (int &, int &, int &, int &)
 
void entireBounds (int &, int &, int &, int &, float)
 
bool getSelected (int, int)
 
int getTextSelected (int, int, float)
 
void rotate ()
 
void mirrorX ()
 
void mirrorY ()
 
QString save ()
 
bool load (const QString &)
 
virtual QString getSubcircuitFile ()
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

static Elementinfo (QString &, char *&, bool getNewOne=false)
 
- Static Public Member Functions inherited from circuit
static char * createInternal (const char *, const char *)
 

Public Attributes

 comp_1bit
 
 PROP_COMPONENT
 
 PROP_NO_SUBSTRATE
 
 PROP_NONLINEAR
 
- Public Attributes inherited from Component
bool mirroredX
 
int rotated
 
QPtrList< LineLines
 
QPtrList< struct ArcArcs
 
QPtrList< AreaRects
 
QPtrList< AreaEllips
 
QPtrList< PortPorts
 
QPtrList< TextTexts
 
QPtrList< PropertyProps
 
int isActive
 
int tx
 
int ty
 
bool showName
 
QString Model
 
QString Name
 
QString Description
 
- Public Attributes inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Protected Member Functions

void createSymbol ()
 
QString vhdlCode (int)
 
QString verilogCode (int)
 
- Protected Member Functions inherited from Component
virtual QString netlist ()
 
int analyseLine (const QString &, int)
 
bool getIntegers (const QString &, int *i1=0, int *i2=0, int *i3=0, int *i4=0, int *i5=0, int *i6=0)
 
bool getPen (const QString &, QPen &, int)
 
bool getBrush (const QString &, QBrush &, int)
 
void copyComponent (Component *)
 
PropertygetProperty (const QString &)
 

Additional Inherited Members

- Public Types inherited from integrator
typedef void(* integrate_func_t )(integrator *, int, nr_double_t, nr_double_t &, nr_double_t &)
 
typedef void(* conductor_func_t )(integrator *, nr_double_t, nr_double_t &)
 
- Static Public Attributes inherited from circuit
static const nr_double_t z0 = 50.0
 
- Protected Attributes inherited from circuit
int type
 
int pol
 

Detailed Description

Definition at line 16 of file comp_1bit.h.

Constructor & Destructor Documentation

comp_1bit::comp_1bit ( )

Here is the caller graph for this function:

comp_1bit::~comp_1bit ( )
inline

Definition at line 20 of file comp_1bit.h.

Member Function Documentation

void comp_1bit::calcAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 551 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::calcDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 513 of file comp_1bit.core.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void comp_1bit::calcHB ( int  )
virtual

Reimplemented from circuit.

Definition at line 684 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::calcNoiseAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 665 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::calcNoiseSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 671 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::calcOperatingPoints ( void  )
virtual

Reimplemented from circuit.

Definition at line 540 of file comp_1bit.core.cpp.

void comp_1bit::calcSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 579 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::calcTR ( nr_double_t  )
virtual

Reimplemented from circuit.

Definition at line 592 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::createSymbol ( )
protected

Definition at line 58 of file comp_1bit.cpp.

comp_1bit::CREATOR ( comp_1bit  )
Element * comp_1bit::info ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
)
static

Definition at line 49 of file comp_1bit.cpp.

Here is the call graph for this function:

void comp_1bit::initAC ( void  )
virtual

Reimplemented from circuit.

Definition at line 545 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::initDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 277 of file comp_1bit.core.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void comp_1bit::initHB ( int  )
virtual

Reimplemented from circuit.

Definition at line 677 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::initSP ( void  )
virtual

Reimplemented from circuit.

Definition at line 573 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::initTR ( void  )
virtual

Reimplemented from circuit.

Definition at line 585 of file comp_1bit.core.cpp.

Here is the call graph for this function:

void comp_1bit::loadOperatingPoints ( void  )

Definition at line 535 of file comp_1bit.core.cpp.

Component * comp_1bit::newOne ( )
virtual

Reimplemented from Component.

Definition at line 41 of file comp_1bit.cpp.

Here is the call graph for this function:

void comp_1bit::restartDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 289 of file comp_1bit.core.cpp.

Here is the caller graph for this function:

void comp_1bit::saveOperatingPoints ( void  )
virtual

Reimplemented from circuit.

Definition at line 529 of file comp_1bit.core.cpp.

Here is the caller graph for this function:

QString comp_1bit::verilogCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 112 of file comp_1bit.cpp.

Here is the call graph for this function:

QString comp_1bit::vhdlCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 89 of file comp_1bit.cpp.

Here is the call graph for this function:

Member Data Documentation

comp_1bit::comp_1bit

Definition at line 27 of file comp_1bit.defs.h.

comp_1bit::PROP_COMPONENT

Definition at line 27 of file comp_1bit.defs.h.

comp_1bit::PROP_NO_SUBSTRATE

Definition at line 27 of file comp_1bit.defs.h.

comp_1bit::PROP_NONLINEAR

Definition at line 27 of file comp_1bit.defs.h.


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