Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CElementActive Class Reference

Klasa reprezentuje elementy aktywne. More...

#include <CElement.hh>

Inheritance diagram for CElementActive:

CElement CCurent CVoltage List of all members.

Public Member Functions

 CElementActive ()
 Konstruktor bezargumentowy.
 CElementActive (std::string symbol, std::string name, double omega=0, double fi0=0, int x=0, int y=0, int rot=0)
 Konstruktor.
virtual ~CElementActive ()
 Wirtualny destruktor.
double getOmega (void)
 Zwraca czestoc kolowa.
void setOmega (double omega)
 Ustawia czestoc kolowa.
double getFi0 (void)
 Zwraca faze poczatkowa.
void setFi0 (double fi)
 Ustawia faze poczatkowa.

Protected Attributes

double m_omega
 czestosc kolowa elementu
double m_fi0
 faza poczatkowa.

Detailed Description

Klasa reprezentuje elementy aktywne.


Constructor & Destructor Documentation

CElementActive::CElementActive  )  [inline]
 

Konstruktor bezargumentowy.

See also:
CElementActive(std::string symbol,std::string name,double omega=0,double fi0=0,int x=0,int y=0,int rot=0);~CElementActive();

CElementActive::CElementActive std::string  symbol,
std::string  name,
double  omega = 0,
double  fi0 = 0,
int  x = 0,
int  y = 0,
int  rot = 0
[inline]
 

Konstruktor.

Parameters:
symbol typ elementu.
name nazwa.
x rzedna elementu na schemacie.
y odcieta elementu na schemacie.
omega czestosc kolowa wymuszenia.
fi0 faza poczatkowa.
rot rotacja elementu na schemacie, mozliwo¶ci : prawo(0), gora(1), lewo(2), dol(3). Pozostale wartosc sa rownowazne z rotacja prawa.
See also:
CElement();CElementActive();~CElementActive();

virtual CElementActive::~CElementActive  )  [inline, virtual]
 

Wirtualny destruktor.

See also:
CElementPasive();


Member Function Documentation

double CElementActive::getFi0 void   )  [inline]
 

Zwraca faze poczatkowa.

Returns:
faza poczatkowa
See also:
setFi0(double fi);

double CElementActive::getOmega void   )  [inline]
 

Zwraca czestoc kolowa.

Returns:
czestoc kolowa
See also:
setOmega(double omega);

void CElementActive::setFi0 double  fi  )  [inline]
 

Ustawia faze poczatkowa.

Parameters:
czestoc faza poczatkowa
See also:
getFi0(void);

void CElementActive::setOmega double  omega  )  [inline]
 

Ustawia czestoc kolowa.

Parameters:
czestoc czestosc kolowa
See also:
getOmega(double omega);


Member Data Documentation

double CElementActive::m_fi0 [protected]
 

faza poczatkowa.

double CElementActive::m_omega [protected]
 

czestosc kolowa elementu


The documentation for this class was generated from the following file:
Generated on Sun Jan 16 11:05:57 2005 for RolLerCoaster by  doxygen 1.3.9.1