VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlQueueSocket.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992, 2002 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 #ifndef vlQueueSocket_H_
6 #define vlQueueSocket_H_
7 
11 
12 #include "vlSocket.h"
13 #include <vlutil/vlMachineTypes.h>
14 #include <vlutil/vlUtil.h>
15 
16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
18 {
19 #endif
20 
29 {
30 public:
31 
33  DtQueueSocket();
34 
36  virtual ~DtQueueSocket();
37 
40  virtual int sendTo(caddr_t packet, size_t size, DtIpv4Addr addr);
41 
44  virtual int DtRecv(caddr_t* buffptr, int* status = NULL);
45  virtual int DtRecv(caddr_t buff, size_t);
46 
47 protected:
48 
51 
53  DtQueueSocket& operator=(const DtQueueSocket &);
54 
55 protected:
56 
58  char* myPktBuff;
60 
61 };
62 
63 #ifdef DtUSE_UTILITIES_NAMESPACE
64 }
65 #endif
66 
67 #endif
DtU32 DtIpv4Addr
Definition: vlUtil.h:330
DtSocket provides a low level interface for packet I/O with VR-Link applications. ...
Definition: vlSocket.h:110
DtList myPackets
Definition: vlQueueSocket.h:57
A DtQueueSocket is a DtSocket that does NOT send or receive.
Definition: vlQueueSocket.h:28
int myPktBuffSize
Definition: vlQueueSocket.h:59
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
This file declares DtSocket as well as several useful constents and helper classes.
char * myPktBuff
Definition: vlQueueSocket.h:58
#define DT_DLL_NETCOMPAT
Definition: vlMachineTypes.h:111
provides basic Operating Independent Methods useful to a federate
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)