Public Types | Public Member Functions | Private Attributes | List of all members
rcdiscover::ForceIP Class Reference

Class for sending GigE Vision FORCEIP_CMD to camera. More...

#include <force_ip.h>

Public Types

typedef SocketLinux SocketType
 

Public Member Functions

 ForceIP ()
 Constructor. More...
 
void sendCommand (std::uint64_t mac, std::uint32_t ip, std::uint32_t subnet, std::uint32_t gateway)
 Send FORCEIP_CMD. More...
 

Private Attributes

std::vector< SocketTypesockets_
 

Detailed Description

Class for sending GigE Vision FORCEIP_CMD to camera.

Definition at line 26 of file force_ip.h.

Member Typedef Documentation

Definition at line 32 of file force_ip.h.

Constructor & Destructor Documentation

rcdiscover::ForceIP::ForceIP ( )

Constructor.

Sets up sockets.

Definition at line 19 of file force_ip.cc.

Member Function Documentation

void rcdiscover::ForceIP::sendCommand ( std::uint64_t  mac,
std::uint32_t  ip,
std::uint32_t  subnet,
std::uint32_t  gateway 
)

Send FORCEIP_CMD.

Parameters
macthe destination MAC address
ipthe desired IP address
subnetthe desired subnet mask
gatewaythe desired default gateway
Note
If ip is set to 0, the camera will perform a reconnect.

Definition at line 29 of file force_ip.cc.

Member Data Documentation

std::vector<SocketType> rcdiscover::ForceIP::sockets_
private

Definition at line 55 of file force_ip.h.


The documentation for this class was generated from the following files:


rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Sun Apr 18 2021 02:16:32