File: CLin.h

package info (click to toggle)
vipec 3.0.3-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,648 kB
  • ctags: 1,899
  • sloc: cpp: 13,609; makefile: 93; perl: 36; ansic: 20; sh: 6
file content (34 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef CLIN_H
#define CLIN_H

#include <Component.h>

#include <qpixmap.h>

class CLin : public Component
{
public:
  CLin( const QPoint& center );
  virtual ~CLin();

  virtual void initComponent();
  virtual void addToAdmittanceMatrix( TReal freq, Matrix* yn );

  virtual const QString& getCatagory() const;
  virtual const QString& getName() const;
  virtual const QPixmap& getPixmap() const;

  virtual bool initSweep();

protected:
  virtual void drawSymbol(QPainter*);

private:
  static QPixmap* pixmap_;
  TReal ze_;
  TReal zo_;
  TReal e_;
  TReal f_;
};

#endif