VR-Forces 5.0.1 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

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

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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)