VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
portal
queueHeader.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2015 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
DtNetU32
payloadSize
;
25
DtNetU32
numberOfBuckets
;
26
DtNetU32
front
[
DtSubscribableMessageQueue::theMaxSubscribers
];
27
DtNetU32
subscribed
[
DtSubscribableMessageQueue::theMaxSubscribers
];
28
DtNetU32
subscriberDrops
[
DtSubscribableMessageQueue::theMaxSubscribers
];
29
DtNetU32
back
;
30
boost::interprocess::interprocess_mutex
rwlock
;
31
32
//The following are used strictly for performance information
33
DtNetU32
lastXPtr
;
34
DtNetU32
lastXSize
;
35
DtNetU32
currentTrackableSize
;
36
DtNetU32
maxTrackableSize
;
37
};
38
42
struct
DtBucketHeader
43
{
44
DtNetU8
senderId
;
45
DtNetU32
sizeInBytes
;
46
};
47
48
}
Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)