Go to the documentation of this file.
20 #include <FL/fl_ask.H>
27 void changingDeviceCb(Fl_Widget *,
void *user_data)
33 void ipCb(Fl_Widget *,
void *user_data)
39 void subnetMaskCb(Fl_Widget *,
void *user_data)
45 void updateCb(Fl_Widget *,
void *user_data)
51 void setCb(Fl_Widget *,
void *user_data)
57 void clearCb(Fl_Widget *,
void *user_data)
63 void helpCb(Fl_Widget *,
void *)
98 const std::string &sel_mac)
145 if ((v>>24) == 172 && (
static_cast<uint8_t
>(v>>16)&16) != 0)
150 if ((v>>24) == 192 &&
static_cast<uint8_t
>(v>>16) == 168)
155 if ((v>>24) == 169 &&
static_cast<uint8_t
>(v>>16) == 254)
182 if (fl_choice(
"IP address and gateway appear to be in different subnets. ",
183 "Cancel",
"Proceed", 0) != 1)
191 if (fl_choice(
"Are you sure to set the IP address of the device with MAC-address %s?",
192 "No",
"Yes", 0,
mac->value()) == 1)
200 catch (
const std::runtime_error &ex)
202 fl_alert(
"%s", ex.what());
224 device->callback(changingDeviceCb,
this);
243 set_ip->callback(setCb,
this);
249 help->callback(helpCb,
this);
254 size_range(w(), h(), w(), h());
Class for sending GigE Vision FORCEIP_CMD to camera.
InputIP * default_gateway
void updateDevices(const std::vector< std::pair< std::string, std::string > > &list, const std::string &sel_mac)
int addRightY(int gap=GAP_SIZE)
Computes the y coordinate of a widget to the right of the last added widget.
void checkGroupSize(const char *group_name)
The size of the current group must be set before adding all children, especially resizable ones.
void sendCommand(std::uint64_t mac, std::uint32_t ip, std::uint32_t subnet, std::uint32_t gateway)
Send FORCEIP_CMD.
static SetTmpIPWindow * showWindow()
void update(const std::vector< std::pair< std::string, std::string > > &list, const std::string &sel_mac)
static void showWindow(const char *target=0)
rcdiscover
Author(s): Heiko Hirschmueller
, Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56