VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiObjectInformationQt
resourceInformationPageLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtResourceInformationPageLogic.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
16
#include <
vrfGuiObjectInformationQt/informationDialogPage.h
>
17
18
#include <
vrfGuiCore/vrfResourceRequestor.h
>
19
20
class
QTreeWidgetItem
;
21
22
namespace
makVrf
23
{
24
namespace
makVrfGuiObjectInformationQt
25
{
26
class
DtResourceInformationPageLogic;
27
28
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtResourcePageRequestor
:
public
DtVrfResourceRequestor
29
{
30
public
:
31
DtResourcePageRequestor
(
makVrv::DtDe
&,
DtResourceInformationPageLogic
*);
32
33
protected
:
34
virtual
void
addResource(
const
DtResource
& resource);
35
virtual
void
resourceUpdated(
const
DtResource
& resource);
36
virtual
void
resourcesChanged();
37
virtual
void
resourceCheckingDisabled();
38
virtual
void
resourceCheckComplete();
39
40
protected
:
41
DtResourceInformationPageLogic
*
myLogic
;
42
};
43
44
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtResourceInformationPageLogic
:
public
DtInformationDialogPageLogic
45
{
46
public
:
47
DtResourceInformationPageLogic
(
makVrv::DtDe
&,
DtInformationDialogPage
* iface);
48
49
virtual
~
DtResourceInformationPageLogic
();
50
51
virtual
void
addResource(
const
DtResource
& resource);
52
virtual
void
resourceUpdated(
const
DtResource
& resource);
53
virtual
void
clear();
54
55
virtual
void
setUpdateRate(
int
);
56
57
protected
:
58
virtual
void
activate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* state);
59
virtual
void
deactivate();
60
61
protected
:
62
DtResourcePageRequestor
myRequestor
;
63
DtUUID
myMonitoring
;
64
65
typedef
std::map<std::string, QTreeWidgetItem*>
DtResourceItems
;
66
67
DtResourceItems
myResourceItems
;
68
};
69
}
70
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)