VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfExtObjects
extDiGuyCustomPduEncoder.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#ifdef DtDIS
9
10
#include <
vrfExtObjects/vrfExtObjectsDefines.h
>
11
#include <vl/diGuyCustomPduEncoder.h>
12
13
// ======================================================================================
14
// Note: the PDU-encoding code that exists here should be kept in sync with the PDU code
15
// that lives in bdiDisInterface and bdiExerciseInterfaceDis in DI-Guy.
16
// ======================================================================================
17
18
/*
19
This class extends the encoder in VR-Link. It exists only as a home for several
20
static encoder functions, which will replace the original ones in the parent class.
21
*/
22
class
DT_DLL_vrfExtObjects
DtExtDIGuyCustomPduEncoder
:
public
DtDIGuyCustomPduEncoder
23
{
24
public
:
26
DtExtDIGuyCustomPduEncoder
();
27
29
virtual
~
DtExtDIGuyCustomPduEncoder
();
30
31
protected
:
32
33
static
DtPdu
* encodeDiGuyActionPdu(
34
const
DtEntityStateRepository
& stateRep,
35
DtEntityStateRepository
* asSeenByRemote,
36
DtClock
* theClock,
DtDIGuyCustomPduEncoder
* encoder);
37
38
static
DtPdu
* encodeDiGuyAppearancePdu(
39
const
DtEntityStateRepository
& stateRep,
40
DtEntityStateRepository
* asSeenByRemote,
41
DtClock
* theClock,
DtDIGuyCustomPduEncoder
* encoder);
42
43
static
DtPdu
* encodeDiGuyTypePdu(
44
const
DtEntityStateRepository
& stateRep,
45
DtEntityStateRepository
* asSeenByRemote,
46
DtClock
* theClock,
DtDIGuyCustomPduEncoder
* encoder);
47
48
};
49
50
51
#endif
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)