VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
10 #include <vlpi/disEnums.h>
11 #include <map>
12 
14 
17  (*DtStandardVariableRecordCreator)( void* addr /*= 0*/, unsigned int length /*= 0*/ );
18 
20 {
21 public:
22 
26 
29 
32 
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 Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)