aboutsummaryrefslogtreecommitdiff
path: root/oop2w6/Inductor.h
blob: 179ba2b431ec57c0a9c5f63977a581719cbb9c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "IComponent.h"

class Inductor : public IComponent {
private:
	double inductance;
	bool bIsSaturable;

public:
	Inductor(double inductance, bool isSaturable);
	virtual double getValue();
	virtual bool isSaturable();
	virtual void accept(Visitor&);
};