tools
rcdiscover-gui
device_choice.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_DEVICE_CHOICE_H
13
#define RC_DEVICE_CHOICE_H
14
15
#include <FL/Fl.H>
16
#include <FL/Fl_Choice.H>
17
18
#include <vector>
19
#include <utility>
20
#include <string>
21
22
class
DeviceChoice
:
public
Fl_Choice
23
{
24
public
:
25
26
DeviceChoice
(
int
x,
int
y,
int
w,
int
h,
const
char
*label);
27
28
std::string
getMAC
();
29
30
void
update
(
const
std::vector<std::pair<std::string, std::string> > &list,
31
const
std::string &sel_mac);
32
};
33
34
#endif
DeviceChoice::DeviceChoice
DeviceChoice(int x, int y, int w, int h, const char *label)
Definition:
device_choice.cc:14
DeviceChoice::update
void update(const std::vector< std::pair< std::string, std::string > > &list, const std::string &sel_mac)
Definition:
device_choice.cc:41
DeviceChoice
Definition:
device_choice.h:22
DeviceChoice::getMAC
std::string getMAC()
Definition:
device_choice.cc:20
rcdiscover
Author(s): Heiko Hirschmueller
, Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56