WebLVC 1.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
queueHeader.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <boost/interprocess/sync/interprocess_mutex.hpp>
14 #include <vlutil/vlNetTypes.h>
15 
16 namespace MAKVrExchange
17 {
18 
23  {
24 
27 
28  DtNetU32 payloadSize;
29  DtNetU32 numberOfBuckets;
30 
32 
35 
38 
41 
44 
47 
49  DtNetU32 writeHead;
50 
53 
55  boost::interprocess::interprocess_mutex rwlock;
56 
60 
61  DtNetU32 lastXPtr;
62  DtNetU32 lastXSize;
64  DtNetU32 maxTrackableSize;
65 
67 
68  };
69 
70 
75  {
76  DtNetU8 senderId;
77  DtNetU32 sizeInBytes;
78  };
79 
80 }
DtNetU32 lastXSize
Definition: queueHeader.h:62
DtNetU8 writeHeadLoopCount
Stores the number of loops through the queue the write head has made.
Definition: queueHeader.h:52
DtNetU32 currentTrackableSize
Definition: queueHeader.h:63
DtNetU32 maxTrackableSize
Definition: queueHeader.h:64
DtNetU32 sizeInBytes
the ID of the subscriber
Definition: queueHeader.h:77
DtNetU32 readHead[DtSubscribableMessageQueue::theMaxSubscribers]
Stores each subscriber&#39;s read head.
Definition: queueHeader.h:37
DtNetU32 numberOfBuckets
Definition: queueHeader.h:29
static const unsigned int theMaxSubscribers
The maximum number of subscribers allowed in this queue.
Definition: smSubscribableMessageQueue.h:39
Contains the DtSubscribableMessageQueue class declaration.
DtNetU32 writeHead
The current write head for the queue.
Definition: queueHeader.h:49
DtNetU8 subscribers[DtSubscribableMessageQueue::theMaxSubscribers]
Stores a list of the current subscribers.
Definition: queueHeader.h:34
DtNetU8 senderId
Definition: queueHeader.h:76
DtNetU32 subscriberDrops[DtSubscribableMessageQueue::theMaxSubscribers]
Keeps track of how many messages have been dropped for each subscriber.
Definition: queueHeader.h:46
DtQueueHeader exists at the front of the message queue and contains useful information about the stat...
Definition: queueHeader.h:22
DtBucketHeader is a structure found at the front of each message to keep track of the number of bytes...
Definition: queueHeader.h:74
DtNetU32 lastXPtr
Definition: queueHeader.h:61
DtNetU32 payloadSize
Definition: queueHeader.h:28
DtNetU32 subscribed[DtSubscribableMessageQueue::theMaxSubscribers]
Indicates whether a given subscriber is active.
Definition: queueHeader.h:43
boost::interprocess::interprocess_mutex rwlock
Write lock.
Definition: queueHeader.h:55
DtNetU8 readHeadLoopCounts[DtSubscribableMessageQueue::theMaxSubscribers]
Stores the number of loops through the queue the subscriber&#39;s read head has made. ...
Definition: queueHeader.h:40

Document ID: Generated on Wed Mar 12 15:05:17 EDT 2025 from SVN revision 274272
Copyright © 2005-2025 MAK Technologies. All Rights Reserved (www.mak.com)