rcdiscover
force_ip.h
Go to the documentation of this file.
1
/*
2
* Roboception GmbH
3
* Munich, Germany
4
* www.roboception.com
5
*
6
* Copyright (c) 2017 Roboception GmbH
7
* All rights reserved
8
*
9
* Author: Raphael Schaller
10
*/
11
#ifndef FORCE_IP_H
12
#define FORCE_IP_H
13
14
#ifdef WIN32
15
#include "
socket_windows.h
"
16
#else
17
#include "
socket_linux.h
"
18
#endif
19
20
namespace
rcdiscover
21
{
22
26
class
ForceIP
27
{
28
public
:
29
#ifdef WIN32
30
typedef
SocketWindows
SocketType
;
31
#else
32
typedef
SocketLinux
SocketType
;
33
#endif
34
35
public
:
40
ForceIP
();
41
51
void
sendCommand
(std::uint64_t mac, std::uint32_t ip,
52
std::uint32_t subnet, std::uint32_t gateway);
53
54
private
:
55
std::vector<SocketType>
sockets_
;
56
};
57
58
}
59
60
#endif // FORCE_IP_H
rcdiscover::ForceIP
Class for sending GigE Vision FORCEIP_CMD to camera.
Definition:
force_ip.h:26
socket_windows.h
rcdiscover::ForceIP::sockets_
std::vector< SocketType > sockets_
Definition:
force_ip.h:55
rcdiscover::SocketWindows
Definition:
socket_windows.h:46
rcdiscover
Definition:
deviceinfo.cc:40
rcdiscover::ForceIP::ForceIP
ForceIP()
Constructor.
Definition:
force_ip.cc:19
rcdiscover::ForceIP::sendCommand
void sendCommand(std::uint64_t mac, std::uint32_t ip, std::uint32_t subnet, std::uint32_t gateway)
Send FORCEIP_CMD.
Definition:
force_ip.cc:29
socket_linux.h
rcdiscover::SocketLinux
Socket implementation for Linux.
Definition:
socket_linux.h:51
rcdiscover::ForceIP::SocketType
SocketLinux SocketType
Definition:
force_ip.h:32
rcdiscover
Author(s): Heiko Hirschmueller
, Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56