VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtVrfResourceRequestor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtVrfResourceRequestor.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
11
15
16
#pragma once
17
18
#include <
vrfGuiCore/vrfGuiCore.h
>
19
20
#include <vrvCore/DtSimEntry.h>
21
#include <
vrfmsgs/ifResMonResponse.h
>
22
23
#include <vector>
24
25
namespace
makVrv
26
{
27
class
DtSimEntry;
28
class
DtDe
;
29
}
30
31
class
DtIfServerRequestResponse
;
32
class
DtResource
;
33
34
namespace
makVrf
35
{
37
class
DT_DLL_VRFGUICORE
DtVrfResourceRequestor
38
{
39
public
:
40
DtVrfResourceRequestor
(makVrv::DtDe&);
41
virtual
~
DtVrfResourceRequestor
();
42
45
virtual
void
requestResourcesFor(
const
std::vector<makVrv::DtSimEntry*>& data,
bool
entitiesOnly =
true
);
46
49
virtual
void
startMonitoring(
const
std::string&,
int
rate = -1);
50
52
virtual
void
stopMonitoring(
const
std::string&);
53
55
virtual
void
setUpdateRate(
const
std::string& entity,
int
);
56
57
protected
:
58
virtual
void
slot_resourceResponse(
const
DtIfServerRequestResponse
&);
59
60
protected
:
62
64
virtual
void
resourcesChanged() = 0;
65
68
virtual
void
resourceCheckingDisabled() = 0;
69
71
virtual
void
addResource(
const
DtResource
&) = 0;
72
74
virtual
void
resourceCheckComplete() = 0;
75
77
virtual
void
resourceUpdated(
const
DtResource
&) = 0;
78
79
protected
:
80
makVrv::DtDe&
myDe
;
81
std::vector<std::string>
myResourceRequests
;
82
bool
myCanSetResources
;
83
DtEntityResourceList
myResources
;
84
};
85
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)