TwiceAsNice
2019-02-18
|
class that tries to find apogee devices on the ethernet More...
#include <FindDeviceEthernet.h>
Public Member Functions | |
FindDeviceEthernet () | |
virtual | ~FindDeviceEthernet () |
std::string | Find (const std::string &subnet) |
int32_t | GetElapsedSecs () |
int32_t | GetTimeout () |
Private Member Functions | |
std::string | MakeDeviceStr (const std::string &input) |
void | GetId (const std::string &input, std::string &id) |
void | GetFirmwareRev (const std::string &input, std::string &firmwareRev) |
void | GetIpAddr (const std::string &input, std::string &ipAddr) |
void | GetPort (const std::string &input, std::string &port) |
void | GetMacAddr (const std::string &input, std::string &mac) |
void | GetInterfaceStatus (const std::string &input, std::string &interfaceStatus) |
std::string | CameraInfo (const std::string &rawIdStr, const std::string &frmwRevStr) |
FindDeviceEthernet (const FindDeviceEthernet &) | |
FindDeviceEthernet & | operator= (FindDeviceEthernet &) |
Private Attributes | |
const std::string | m_fileName |
const std::string | m_CamResponse |
UdpSocketBase * | m_socketPtr |
class that tries to find apogee devices on the ethernet
Class that tries to find apogee devices on the ethernet.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2009 Apogee Instruments, Inc.
FindDeviceEthernet::FindDeviceEthernet | ( | ) |
|
virtual |
|
private |
|
private |
std::string FindDeviceEthernet::Find | ( | const std::string & | subnet | ) |
Start search for Apogee ethernet device on a particular subnet
[in] | subnet | Subnet address to search, 192.168.0.255 for example. |
<d>address=192.168.0.20,interface=ethernet,port=80,mac=0009510000FF,deviceType=camera,id=0xfeff,firmwareRev=0x0</d>
int32_t FindDeviceEthernet::GetElapsedSecs | ( | ) |
Returns The number of seconds the search has taken
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
int32_t FindDeviceEthernet::GetTimeout | ( | ) |
Returns Socket time out value
|
private |
|
private |
|
private |
|
private |
|
private |