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
examples
stateRepoExt
myStateRepoExt.h
Go to the documentation of this file.
1
#pragma once
2
#include <
vl/stateRepositoryExtension.h
>
3
4
class
myStateRepoExtension
:
public
DtStateRepositoryExtension
5
{
6
public
:
7
8
Dt_DEF_EXTENSION_NAME
(
"diguyPatches"
);
9
10
myStateRepoExtension
();
11
12
~myStateRepoExtension
();
13
14
static
DtStateRepositoryExtension
*
create
();
15
16
//Setters & getters for each of our added attributes
17
unsigned
int
rank
();
18
void
setRank
(
unsigned
int
val );
19
20
unsigned
int
unit
();
21
void
setUnit
(
unsigned
int
val);
22
23
unsigned
int
personalUnit
();
24
void
setPersonalUnit
(
unsigned
int
val);
25
26
DtString
name
();
27
void
setName
(
DtString
val);
28
29
protected
:
30
unsigned
int
myUnit
;
31
unsigned
int
myPersonalUnit
;
32
unsigned
int
myRank
;
33
DtString
myNameString
;
34
};
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)