OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Inductor.h
Go to the documentation of this file.
1#pragma once
2/*
3 * Inductor.h
4 *
5 * Created on: 05.08.2024
6 * Author: Sebastian Urmann
7 * Copyright (c)
8 */
9
10 //Sevice Header
11#include "CircuitElement.h"
12
13class Inductor : public CircuitElement {
14
15
16public:
17 Inductor(std::string capacity, std::string itemName, std::string editorName, ot::UID Uid, std::string netlistName);
18 ~Inductor();
19
20 std::string type() const override { return "Inductor"; }
21
22 //Getter
23 const std::string getInductance() const { return this->m_inductance; }
24 //Setter
25 std::string setInductance(std::string inductance) { this->m_inductance = inductance; }
26
27private:
28 std::string m_inductance;
29};
30
Definition CircuitElement.h:26
Definition Inductor.h:13
const std::string getInductance() const
Definition Inductor.h:23
std::string type() const override
Definition Inductor.h:20
std::string setInductance(std::string inductance)
Definition Inductor.h:25
~Inductor()
Definition Inductor.cpp:8
Inductor(std::string capacity, std::string itemName, std::string editorName, ot::UID Uid, std::string netlistName)
Definition Inductor.cpp:4
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27