VR-Forces Developer's Guide
 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.

Public Member Functions

 DtUdpServer (DtDe &de, const std::string &udpDevice, const std::string &udpAddress, int port)
 
virtual ~DtUdpServer ()
 
virtual void checkForMessages ()
 
virtual void addClient ()
 
virtual void removeClient ()
 
int clientCount () const
 

Static Public Member Functions

static void setBlocking (bool blocking)
 

Protected Member Functions

void processReads ()
 

Protected Attributes

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

Private Member Functions

 DtUdpServer ()
 

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 Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)