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

#include <phototransistor.h>

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

Public Member Functions

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

 phototransistor
 
 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 ()
 
- Protected Member Functions inherited from Component
virtual QString netlist ()
 
virtual QString vhdlCode (int)
 
virtual QString verilogCode (int)
 
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 phototransistor.h.

Constructor & Destructor Documentation

phototransistor::phototransistor ( )

Here is the caller graph for this function:

phototransistor::~phototransistor ( )
inline

Definition at line 20 of file phototransistor.h.

Member Function Documentation

void phototransistor::calcAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 682 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::calcDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 632 of file phototransistor.core.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void phototransistor::calcHB ( int  )
virtual

Reimplemented from circuit.

Definition at line 822 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::calcNoiseAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 803 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::calcNoiseSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 809 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::calcOperatingPoints ( void  )
virtual

Reimplemented from circuit.

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

void phototransistor::calcSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 710 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::calcTR ( nr_double_t  )
virtual

Reimplemented from circuit.

Definition at line 723 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::createSymbol ( )
protected

Definition at line 117 of file phototransistor.cpp.

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

Definition at line 108 of file phototransistor.cpp.

Here is the call graph for this function:

void phototransistor::initAC ( void  )
virtual

Reimplemented from circuit.

Definition at line 676 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::initDC ( void  )
virtual

Reimplemented from circuit.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void phototransistor::initHB ( int  )
virtual

Reimplemented from circuit.

Definition at line 815 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::initSP ( void  )
virtual

Reimplemented from circuit.

Definition at line 704 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::initTR ( void  )
virtual

Reimplemented from circuit.

Definition at line 716 of file phototransistor.core.cpp.

Here is the call graph for this function:

void phototransistor::loadOperatingPoints ( void  )

Definition at line 666 of file phototransistor.core.cpp.

Component * phototransistor::newOne ( )
virtual

Reimplemented from Component.

Definition at line 100 of file phototransistor.cpp.

Here is the call graph for this function:

void phototransistor::restartDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 285 of file phototransistor.core.cpp.

Here is the caller graph for this function:

void phototransistor::saveOperatingPoints ( void  )
virtual

Reimplemented from circuit.

Definition at line 648 of file phototransistor.core.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

phototransistor::phototransistor

Definition at line 54 of file phototransistor.defs.h.

phototransistor::PROP_COMPONENT

Definition at line 54 of file phototransistor.defs.h.

phototransistor::PROP_NO_SUBSTRATE

Definition at line 54 of file phototransistor.defs.h.

phototransistor::PROP_NONLINEAR

Definition at line 54 of file phototransistor.defs.h.


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