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
logic_1 Struct Reference

#include <logic_1.h>

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

Public Member Functions

 logic_1 ()
 
 ~logic_1 ()
 
ComponentnewOne ()
 
 CREATOR (logic_1)
 
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

 logic_1
 
 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 logic_1.h.

Constructor & Destructor Documentation

logic_1::logic_1 ( )

Here is the caller graph for this function:

logic_1::~logic_1 ( )
inline

Definition at line 20 of file logic_1.h.

Member Function Documentation

void logic_1::calcAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 404 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::calcDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 366 of file logic_1.core.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void logic_1::calcHB ( int  )
virtual

Reimplemented from circuit.

Definition at line 537 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::calcNoiseAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 518 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::calcNoiseSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 524 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::calcOperatingPoints ( void  )
virtual

Reimplemented from circuit.

Definition at line 393 of file logic_1.core.cpp.

void logic_1::calcSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 432 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::calcTR ( nr_double_t  )
virtual

Reimplemented from circuit.

Definition at line 445 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::createSymbol ( )
protected

Definition at line 55 of file logic_1.cpp.

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

Definition at line 46 of file logic_1.cpp.

Here is the call graph for this function:

void logic_1::initAC ( void  )
virtual

Reimplemented from circuit.

Definition at line 398 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::initDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 261 of file logic_1.core.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void logic_1::initHB ( int  )
virtual

Reimplemented from circuit.

Definition at line 530 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::initSP ( void  )
virtual

Reimplemented from circuit.

Definition at line 426 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::initTR ( void  )
virtual

Reimplemented from circuit.

Definition at line 438 of file logic_1.core.cpp.

Here is the call graph for this function:

void logic_1::loadOperatingPoints ( void  )

Definition at line 388 of file logic_1.core.cpp.

Component * logic_1::newOne ( )
virtual

Reimplemented from Component.

Definition at line 37 of file logic_1.cpp.

Here is the call graph for this function:

void logic_1::restartDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 273 of file logic_1.core.cpp.

Here is the caller graph for this function:

void logic_1::saveOperatingPoints ( void  )
virtual

Reimplemented from circuit.

Definition at line 382 of file logic_1.core.cpp.

Here is the caller graph for this function:

QString logic_1::verilogCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 86 of file logic_1.cpp.

QString logic_1::vhdlCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 73 of file logic_1.cpp.

Member Data Documentation

logic_1::logic_1

Definition at line 26 of file logic_1.defs.h.

logic_1::PROP_COMPONENT

Definition at line 26 of file logic_1.defs.h.

logic_1::PROP_NO_SUBSTRATE

Definition at line 26 of file logic_1.defs.h.

logic_1::PROP_NONLINEAR

Definition at line 26 of file logic_1.defs.h.


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