TwiceAsNice
2019-02-18
|
Base class for a upd socket that finds apogee devices on a subnet. More...
#include <UdpSocketBase.h>
Public Member Functions | |
virtual | ~UdpSocketBase () |
std::vector< std::string > | Search4ApogeeDevices (const std::string &subnet, uint16_t portNum) |
int32_t | GetElapsedSecs () |
int32_t | GetTimeout () |
Protected Member Functions | |
UdpSocketBase () | |
virtual void | CloseSocket ()=0 |
Protected Attributes | |
int32_t | m_SocketDescriptor |
Private Member Functions | |
void | CreateSocket (uint16_t portNum) |
void | SetSocketOptions () |
void | CreateUpdPacket () |
void | BroadcastMsg (const std::string &subnet, uint16_t portNum) |
std::string | FetchMsgFromSocket () |
std::vector< std::string > | GetReturnedMsgs () |
UdpSocketBase (const UdpSocketBase &) | |
UdpSocketBase & | operator= (UdpSocketBase &) |
Private Attributes | |
std::string | m_udpPacket |
const std::string | m_fileName |
int32_t | m_timeout |
int32_t | m_elapsedSec |
Base class for a upd socket that finds apogee devices on a subnet.
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.
|
virtual |
|
protected |
|
private |
|
protectedpure virtual |
Implemented in UdpSocketWin, and UdpSocketLinux.
|
private |
|
private |
|
private |
|
inline |
|
private |
|
inline |
|
private |
std::vector< std::string > UdpSocketBase::Search4ApogeeDevices | ( | const std::string & | subnet, |
uint16_t | portNum | ||
) |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |