VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfmodel
resupplyController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfobjcore/singleTaskControllerComponent.h
"
14
#include "
vrfmodel/vrfmodelDefines.h
"
15
16
class
DtResupplyControllerDescriptor
;
17
18
20
class
DT_DLL_vrfmodel
DtResupplyController
:
public
DtSingleTaskControllerComponent
21
{
22
23
public
:
24
30
DtResupplyController
(
const
DtString
& name,
DtVrfObject
* owner,
31
DtSimManager
* simManager,
32
DtComponentDescriptor
* compDesc = 0,
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
36
virtual
~
DtResupplyController
();
37
38
virtual
const
char
*
type
()
const
;
39
56
virtual
bool
postAddComponentsInit
();
57
59
virtual
bool
init
();
60
64
66
static
DtReaderWriter
* provideResupplyRange(
void
* ctrlr);
67
70
static
DtReaderWriter
* provideResupplyMode(
void
* ctrlr);
71
74
static
DtReaderWriter
* provideSuppliesOffered(
void
* ctrlr);
76
77
static
DtSimComponent
* creator(
const
DtString
& name,
78
DtVrfObject
* owner,
79
DtSimManager
* simManager,
80
DtComponentDescriptor
* desc,
81
DtReaderWriterRegistry
* parentRegistry);
82
88
static
void
setSupplyingCallback(
DtSimMessage
* msg,
void
* usr);
89
93
virtual
void
processSetSupplying(
DtSimMessage
* msg);
94
97
virtual
void
addSetDataCallbacks();
98
101
void
removeSetDataCallbacks();
102
103
protected
:
105
virtual
const
DtResupplyControllerDescriptor
* getDescriptor();
106
107
const
DtResupplyControllerDescriptor
*
myResupplyDesc
;
108
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)