11 #if !defined(Q_MOC_RUN)
13 #include <QtWidgets/QDialog>
17 #include <QtGui/QPixmap>
23 #include <vlpi/simulationAddress.h>
44 class DtVrfBackendState;
45 class DtObjectListViewItem;
46 class DtLoadBalancingExtensionWidget;
47 class DtLoadBalancerSelectionWidget;
56 Q_PROPERTY(QColor backendColor1 MEMBER myBackendColor1 USER
true)
57 Q_PROPERTY(QColor backendColor2 MEMBER myBackendColor2 USER true)
58 Q_PROPERTY(QColor backendColor3 MEMBER myBackendColor3 USER true)
59 Q_PROPERTY(QColor backendColor4 MEMBER myBackendColor4 USER true)
60 Q_PROPERTY(QColor backendColor5 MEMBER myBackendColor5 USER true)
61 Q_PROPERTY(QColor backendColor6 MEMBER myBackendColor6 USER true)
62 Q_PROPERTY(QColor backendColor7 MEMBER myBackendColor7 USER true)
63 Q_PROPERTY(QColor backendColor8 MEMBER myBackendColor8 USER true)
64 Q_PROPERTY(QColor backendColor9 MEMBER myBackendColor9 USER true)
76 virtual
void setBackendColors(const QVariantList&);
77 virtual QVariantList getBackendColors() const;
80 virtual
void applyLoadBalance();
82 virtual
void revertBackends();
83 virtual
void executeTextFilter();
84 virtual
void changeObjectView();
87 virtual makVrv::DtVrlinkSimulatedBaseState* stateFromBindings(const
DtRwVariableBindings&) const;
88 virtual
void loadBalancingValidityChanged();
89 virtual
bool itemHasSubordinates(QTreeWidgetItem*) const;
91 virtual
void initConnections();
95 virtual
void slot_backendRemoved(const DtVrfBackendState&);
104 virtual
void accept() override;
105 virtual
void reject() override;
107 virtual
void initBackendLoads();
108 virtual
void updateBackendLoads();
109 virtual
void setBackendForSubordinatesOf(const
DtUUID&, const QString& address);
110 virtual
void initControls();
111 virtual
void initTrees();
112 virtual const QPixmap& colorPixmapForAddress(const DtSimulationAddress&);
113 virtual
void initTreeAsFlatList();
114 virtual
void initTreeAsHierarchy();
115 virtual
void clearForceNodes();
119 virtual
void restoreForceManager();
120 virtual
void processForceHostilityFile(const DtFilename&);
124 QHBoxLayout* myButtonLayout;
132 QHBoxLayout* myLoadBalancingLayout;
137 QHBoxLayout* mySearchLayout =
nullptr;
141 makVrv::DtSignalConnectionManager myConnectionManager;
142 int myObjectViewId = 0;
143 const DtVrfFileParser* myParser =
nullptr;
145 QString myRightClickChosenBackend;
146 std::set<std::
string> myInitialMappedBackends;
147 QColor myBackendColor1;
148 QColor myBackendColor2;
149 QColor myBackendColor3;
150 QColor myBackendColor4;
151 QColor myBackendColor5;
152 QColor myBackendColor6;
153 QColor myBackendColor7;
154 QColor myBackendColor8;
155 QColor myBackendColor9;
161 : view(v), entry(e), item(i) {}
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: vrfBackendState.h:69
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Definition: DtForceManager.h:44
Contains makVrv::DtStateView class.
A DtSimEntry is a container of DtSimState's and represents the total state of an simulation object...
Definition: DtSimEntry.h:27
Contains the DtUUID class declaration.
ReaderWriter object that maintains a list of reader-writer variable bindings. It keeps a list of name...
Definition: rwVariableBindings.h:27
Definition: addressMap.h:24
Contains makVrv::DtSimEntry class.
Contains makVrv::DtVrlinkSimulatedEntityState class.
Contains makVrv::DtForceManager class.
Base class to provide boost signal/slot management.
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Definition: vrfFileParser.h:30
This tree widget item can be used in any tree that wants to display an icon next to the name of an ob...
Definition: objectListViewItem.h:55