QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
demoterminalstrip.h
Go to the documentation of this file.
1/*
2 Copyright 2006-2024 The QElectroTech Team
3 This file is part of QElectroTech.
4
5 QElectroTech is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 QElectroTech is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef DEMOTERMINALSTRIP_H
19#define DEMOTERMINALSTRIP_H
20
21#include "terminalstripdrawer.h"
22
23namespace TerminalStripDrawer {
24
26{
27 public:
29
30 QString installation() const override {
31 return QStringLiteral("=INST");
32 }
33 QString location() const override {
34 return QStringLiteral("+LOC" );
35 }
36 QString name() const override {
37 return QStringLiteral("X1");
38 }
39 QVector<QSharedPointer<AbstractPhysicalTerminalInterface>> physicalTerminal() const override;
40
41 private:
42 void build();
43
44 private:
45 QVector<QSharedPointer<AbstractPhysicalTerminalInterface>> m_physical_terminal;
46};
47
48} //End namespace TerminalStripDrawer
49
50#endif // DEMOTERMINALSTRIP_H
Definition terminalstripdrawer.h:57
Definition demoterminalstrip.h:26
QString location() const override
Definition demoterminalstrip.h:33
QString name() const override
Definition demoterminalstrip.h:36
void build()
Definition demoterminalstrip.cpp:95
QString installation() const override
Definition demoterminalstrip.h:30
QVector< QSharedPointer< AbstractPhysicalTerminalInterface > > m_physical_terminal
Definition demoterminalstrip.h:45
QVector< QSharedPointer< AbstractPhysicalTerminalInterface > > physicalTerminal() const override
Definition demoterminalstrip.cpp:90
DemoTerminalStrip()
DemoTerminalStrip::DemoTerminalStrip.
Definition demoterminalstrip.cpp:85
Definition demoterminalstrip.cpp:21