VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiObjectInformationQt
DtResourceInformationPageLogic.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/DtInformationDialogPage.h
>
17
18
#include <
vrfGuiCore/DtVrfResourceRequestor.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
std::string
myMonitoring
;
64
65
typedef
std::map<std::string, QTreeWidgetItem*>
DtResourceItems
;
66
67
DtResourceItems
myResourceItems
;
68
};
69
}
70
}
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
)