VR-Exchange 2.5 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
portal
queueHeader.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2016 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <boost/interprocess/sync/interprocess_mutex.hpp>
13
#include <
portal/smSubscribableMessageQueue.h
>
14
#include <vlutil/vlNetTypes.h>
15
16
namespace
MAKVrExchange
17
{
18
22
struct
DtQueueHeader
23
{
24
27
28
DtNetU32
payloadSize
;
29
DtNetU32
numberOfBuckets
;
30
32
34
DtNetU8
subscribers
[
DtSubscribableMessageQueue::theMaxSubscribers
];
35
37
DtNetU32
readHead
[
DtSubscribableMessageQueue::theMaxSubscribers
];
38
40
DtNetU8
readHeadLoopCounts
[
DtSubscribableMessageQueue::theMaxSubscribers
];
41
43
DtNetU32
subscribed
[
DtSubscribableMessageQueue::theMaxSubscribers
];
44
46
DtNetU32
subscriberDrops
[
DtSubscribableMessageQueue::theMaxSubscribers
];
47
49
DtNetU32
writeHead
;
50
52
DtNetU8
writeHeadLoopCount
;
53
55
boost::interprocess::interprocess_mutex
rwlock
;
56
60
61
DtNetU32
lastXPtr
;
62
DtNetU32
lastXSize
;
63
DtNetU32
currentTrackableSize
;
64
DtNetU32
maxTrackableSize
;
65
67
68
};
69
70
74
struct
DtBucketHeader
75
{
76
DtNetU8
senderId
;
77
DtNetU32
sizeInBytes
;
78
};
79
80
}
Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)