VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtUdpServer Class Reference

This is used by the master to send and RDEs to receive UDP (broadcast or multicast) messages. More...

Public Member Functions

 DtUdpServer (DtDe &de, const std::string &udpDevice, const std::string &udpAddress, int port)
 CTOR.
virtual ~DtUdpServer ()
 DTOR.
virtual void checkForMessages ()
 Check existing clients for new messages.
virtual void addClient ()
 Increment the client count.
virtual void removeClient ()
 Decrement the client count.
int clientCount () const

Static Public Member Functions

static void setBlocking (bool blocking)
 Modify the blocking state of a socket.

Protected Member Functions

void processReads ()
 Process reads.

Protected Attributes

DtDemyDe
std::string myUdpAddress
std::string myUdpDevice
int myPort
int myClientCount
DtUdpMessageClientmyMessageClient
DtMessageDispatchermyDispatcher

Private Member Functions

 DtUdpServer ()

Detailed Description

This is used by the master to send and RDEs to receive UDP (broadcast or multicast) messages.

Constructor & Destructor Documentation

makVrv::DtUdpServer::DtUdpServer ( )
private
makVrv::DtUdpServer::DtUdpServer ( DtDe de,
const std::string &  udpDevice,
const std::string &  udpAddress,
int  port 
)

CTOR.

virtual makVrv::DtUdpServer::~DtUdpServer ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtUdpServer::checkForMessages ( )
virtual

Check existing clients for new messages.

virtual void makVrv::DtUdpServer::addClient ( )
virtual

Increment the client count.

virtual void makVrv::DtUdpServer::removeClient ( )
virtual

Decrement the client count.

int makVrv::DtUdpServer::clientCount ( ) const
inline
static void makVrv::DtUdpServer::setBlocking ( bool  blocking)
static

Modify the blocking state of a socket.

void makVrv::DtUdpServer::processReads ( )
protected

Process reads.

Member Data Documentation

DtDe& makVrv::DtUdpServer::myDe
protected
std::string makVrv::DtUdpServer::myUdpAddress
protected
std::string makVrv::DtUdpServer::myUdpDevice
protected
int makVrv::DtUdpServer::myPort
protected
int makVrv::DtUdpServer::myClientCount
protected
DtUdpMessageClient* makVrv::DtUdpServer::myMessageClient
protected
DtMessageDispatcher& makVrv::DtUdpServer::myDispatcher
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)