VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
standardVariableRecordFactory.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2013 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#pragma once
7
8
#if DtDIS
9
#include <
vlutil/vlMachineTypes.h
>
10
#include <
vlpi/disEnums.h
>
11
#include <map>
12
13
class
DtStandardVariableRecord
;
14
16
typedef
DtStandardVariableRecord
*
17
(*DtStandardVariableRecordCreator)(
void
* addr
/*= 0*/
,
unsigned
int
length
/*= 0*/
);
18
19
class
DT_DLL_VL
DtStandardVariableRecordFactory
20
{
21
public
:
22
25
DtStandardVariableRecordFactory
();
26
28
virtual
~
DtStandardVariableRecordFactory
();
29
31
DtStandardVariableRecordFactory
(
const
DtStandardVariableRecordFactory
& orig);
32
34
DtStandardVariableRecordFactory
& operator=(
const
DtStandardVariableRecordFactory
& other);
35
39
DtStandardVariableRecord
* createStandardVariableRecord(
unsigned
int
recordType,
void
* addr = 0,
unsigned
int
length = 0)
const
;
40
44
DtStandardVariableRecord
* createStandardVariableRecordFromNet(
const
char
* addr,
const
char
* endOfPdu)
const
;
45
47
void
registerRecord(
unsigned
int
recordType,
DtStandardVariableRecordCreator
creator);
48
50
void
initialize();
51
52
protected
:
53
std::map<unsigned int, DtStandardVariableRecordCreator>
mySVMap
;
54
};
55
56
#endif
Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)