A persistent ip data structure.
More...
#include <gige_interface.hpp>
|
| PersistentIp (tof_persistent_ip_t ptr=nullptr) |
| Construct from pointer.
|
|
| PersistentIp (StringView ip, StringView netmask, StringView gateway, bool enabled) |
| Create persistent ip.
|
|
const char * | get_ip () const |
| Get the IP address.
|
|
void | set_ip (StringView ip) |
| Set the IP address.
|
|
const char * | get_netmask () const |
| Get the netmask.
|
|
void | set_netmask (StringView netmask) |
| Set the netmask.
|
|
const char * | get_gateway () const |
| Get the gateway.
|
|
void | set_gateway (StringView gateway) |
| Set the gateway.
|
|
bool | get_enabled () const |
| Get if persistent ip is enabled.
|
|
void | set_enabled (bool enabled) |
| Set if persistent ip is enabled.
|
|
A persistent ip data structure.
Definition at line 49 of file gige_interface.hpp.
◆ PersistentIp() [1/2]
chronoptics::tof::PersistentIp::PersistentIp |
( |
tof_persistent_ip_t |
ptr = nullptr | ) |
|
|
inline |
◆ PersistentIp() [2/2]
chronoptics::tof::PersistentIp::PersistentIp |
( |
StringView |
ip, |
|
|
StringView |
netmask, |
|
|
StringView |
gateway, |
|
|
bool |
enabled |
|
) |
| |
|
inline |
Create persistent ip.
- Parameters
-
ip | IP address |
netmask | Netmask |
gateway | Gateway |
enabled | Enable or disable persistent ip |
Definition at line 62 of file gige_interface.hpp.
◆ get_enabled()
bool chronoptics::tof::PersistentIp::get_enabled |
( |
| ) |
const |
|
inline |
◆ get_gateway()
const char * chronoptics::tof::PersistentIp::get_gateway |
( |
| ) |
const |
|
inline |
◆ get_ip()
const char * chronoptics::tof::PersistentIp::get_ip |
( |
| ) |
const |
|
inline |
◆ get_netmask()
const char * chronoptics::tof::PersistentIp::get_netmask |
( |
| ) |
const |
|
inline |
◆ set_enabled()
void chronoptics::tof::PersistentIp::set_enabled |
( |
bool |
enabled | ) |
|
|
inline |
◆ set_gateway()
void chronoptics::tof::PersistentIp::set_gateway |
( |
StringView |
gateway | ) |
|
|
inline |
◆ set_ip()
void chronoptics::tof::PersistentIp::set_ip |
( |
StringView |
ip | ) |
|
|
inline |
◆ set_netmask()
void chronoptics::tof::PersistentIp::set_netmask |
( |
StringView |
netmask | ) |
|
|
inline |