set_tmp_ip_window.h
Go to the documentation of this file.
1 /*
2  * Roboception GmbH
3  * Munich, Germany
4  * www.roboception.com
5  *
6  * Copyright (c) 2024 Roboception GmbH
7  * All rights reserved
8  *
9  * Author: Heiko Hirschmueller
10  */
11 
12 #ifndef RC_SET_TMP_IP_WINDOW_H
13 #define RC_SET_TMP_IP_WINDOW_H
14 
15 #include "device_choice.h"
16 #include "input_mac.h"
17 #include "input_ip.h"
18 #include "button.h"
19 
20 #include <FL/Fl.H>
21 #include <FL/Fl_Double_Window.H>
22 
23 #include <vector>
24 #include <utility>
25 
26 class SetTmpIPWindow : public Fl_Double_Window
27 {
28  public:
29 
30  static SetTmpIPWindow *showWindow();
31  static void hideWindow();
32 
33  void updateDevices(const std::vector<std::pair<std::string, std::string> > &list,
34  const std::string &sel_mac);
35 
36  void update();
37 
38  void isChangingDevice();
39  void doIP();
40  void doSubnetMask();
41  void isSet();
42  void isClear();
43 
44  private:
45 
47 
56 };
57 
58 #endif
SetTmpIPWindow::mac
InputMAC * mac
Definition: set_tmp_ip_window.h:49
device_choice.h
SetTmpIPWindow::device
DeviceChoice * device
Definition: set_tmp_ip_window.h:48
input_mac.h
Button
Definition: button.h:18
button.h
SetTmpIPWindow::doSubnetMask
void doSubnetMask()
Definition: set_tmp_ip_window.cc:164
SetTmpIPWindow::doIP
void doIP()
Definition: set_tmp_ip_window.cc:134
SetTmpIPWindow::isSet
void isSet()
Definition: set_tmp_ip_window.cc:174
SetTmpIPWindow::ip
InputIP * ip
Definition: set_tmp_ip_window.h:50
SetTmpIPWindow
Definition: set_tmp_ip_window.h:26
SetTmpIPWindow::subnet_mask
InputIP * subnet_mask
Definition: set_tmp_ip_window.h:51
InputIP
Definition: input_ip.h:20
SetTmpIPWindow::default_gateway
InputIP * default_gateway
Definition: set_tmp_ip_window.h:52
SetTmpIPWindow::help
Button * help
Definition: set_tmp_ip_window.h:55
SetTmpIPWindow::updateDevices
void updateDevices(const std::vector< std::pair< std::string, std::string > > &list, const std::string &sel_mac)
Definition: set_tmp_ip_window.cc:97
SetTmpIPWindow::isChangingDevice
void isChangingDevice()
Definition: set_tmp_ip_window.cc:128
input_ip.h
SetTmpIPWindow::set_ip
Button * set_ip
Definition: set_tmp_ip_window.h:53
InputMAC
Definition: input_mac.h:20
SetTmpIPWindow::clear_form
Button * clear_form
Definition: set_tmp_ip_window.h:54
SetTmpIPWindow::showWindow
static SetTmpIPWindow * showWindow()
Definition: set_tmp_ip_window.cc:77
SetTmpIPWindow::update
void update()
Definition: set_tmp_ip_window.cc:105
DeviceChoice
Definition: device_choice.h:22
SetTmpIPWindow::hideWindow
static void hideWindow()
Definition: set_tmp_ip_window.cc:89
SetTmpIPWindow::SetTmpIPWindow
SetTmpIPWindow()
Definition: set_tmp_ip_window.cc:216
SetTmpIPWindow::isClear
void isClear()
Definition: set_tmp_ip_window.cc:207


rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56