Qucs-core  0.0.19
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
tswitch Class Reference

#include <tswitch.h>

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

Public Member Functions

 CREATOR (tswitch)
void initSP (void)
 placehoder for S-Parameter initialisation function
void initDC (void)
void initAC (void)
void initTR (void)
void calcTR (nr_double_t)
void calcNoiseAC (nr_double_t)
void calcNoiseSP (nr_double_t)

Data Fields

 Switch
 PROP_COMPONENT
 PROP_NO_SUBSTRATE
 PROP_LINEAR

Private Member Functions

nr_double_t initState (void)

Private Attributes

nr_double_t T
nr_double_t duration
bool repeat

Detailed Description

Definition at line 214 of file tswitch.cpp.


Member Function Documentation

void tswitch::calcNoiseAC ( nr_double_t  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 73 of file tswitch.cpp.

void tswitch::calcNoiseSP ( nr_double_t  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 65 of file tswitch.cpp.

void tswitch::calcTR ( nr_double_t  t) [virtual]

Reimplemented from qucs::circuit.

Definition at line 110 of file tswitch.cpp.

void tswitch::initAC ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 90 of file tswitch.cpp.

void tswitch::initDC ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 83 of file tswitch.cpp.

void tswitch::initSP ( void  ) [virtual]

placehoder for S-Parameter initialisation function

Virtual function intended to be overridden by the inheiriting circuit element's S-Parameter initialisation function. initSP is called before commencing the simulation to set up the S-Parameter matrix.

Reimplemented from qucs::circuit.

Definition at line 56 of file tswitch.cpp.

nr_double_t tswitch::initState ( void  ) [private]

Definition at line 50 of file tswitch.cpp.

void tswitch::initTR ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 94 of file tswitch.cpp.


Field Documentation

Definition at line 43 of file tswitch.h.

Definition at line 215 of file tswitch.cpp.

Definition at line 215 of file tswitch.cpp.

Definition at line 215 of file tswitch.cpp.

bool tswitch::repeat [private]

Definition at line 44 of file tswitch.h.

Definition at line 215 of file tswitch.cpp.

Definition at line 42 of file tswitch.h.


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