VR-Forces 4.8 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. More...
 
virtual ~DtUdpServer ()
 DTOR. More...
 
virtual void checkForMessages ()
 Check existing clients for new messages. More...
 
virtual void addClient ()
 Increment the client count. More...
 
virtual void removeClient ()
 Decrement the client count. More...
 
int clientCount () const
 

Static Public Member Functions

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

Protected Member Functions

void processReads ()
 Process reads. More...
 

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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)