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
strategies
entityUpdate.h
Go to the documentation of this file.
1
/*********************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************************/
5
6
#pragma once
7
8
#include "
strategies/export.h
"
9
#include "
managedInterface/linkStrategy.h
"
10
#include "
managedInterface/publisherList.h
"
11
12
#include <string>
13
14
class
DtReflectedEntityList
;
15
class
DtEntityPublisher
;
16
17
class
MANAGEDINTERFACE_MODULE_DLL
DtEntityUpdateStrategy
:
public
DtLinkStrategy
18
{
19
public
:
20
virtual
~
DtEntityUpdateStrategy
();
21
22
std::string
name
();
23
static
std::string theName();
24
25
virtual
bool
init
();
26
virtual
void
tick
();
27
virtual
void
shutdown
();
28
29
static
DtLinkStrategy
* create(
DtManagedInterface
* gl);
30
31
protected
:
32
void
handleEntitySubscriptionChange(
DtMessage
* msg);
33
34
protected
:
35
DtEntityUpdateStrategy
(
DtManagedInterface
* link);
36
DtReflectedEntityList
*
myRel
;
37
DtPublisherList<DtEntityPublisher>
*
myPubs
;
38
39
static
std::string
theStrategyName
;
40
41
DtMessageDelegate
*
mySubscriptionChangeHandler
;
42
};
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
)