VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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
;
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 Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)