Power System Platform
2026w10a-beta
Loading...
Searching...
No Matches
RateLimiterForm.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 Thales Lima Oliveira <thales@ufu.br>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef RATELIMITERFORM_H
19
#define RATELIMITERFORM_H
20
#include "ElementFormBase.h"
21
22
class
RateLimiter
;
23
31
class
RateLimiterForm
:
public
RateLimiterFormBase
32
{
33
public
:
34
RateLimiterForm
(wxWindow* parent,
RateLimiter
* rateLimiter);
35
virtual
~RateLimiterForm
();
36
bool
ValidateData();
37
38
protected
:
39
virtual
void
OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_OK); }
40
virtual
void
OnOKButtonClick(wxCommandEvent& event);
41
42
wxWindow* m_parent =
nullptr
;
43
RateLimiter
* m_rateLimiter =
nullptr
;
44
};
45
#endif
// RATELIMITERFORM_H
RateLimiterForm
Form to edit the rate limit control data.
Definition
RateLimiterForm.h:32
RateLimiter
Limits the rising and/or falling rate.
Definition
RateLimiter.h:33
Project
forms
RateLimiterForm.h
Generated by
1.9.8