9 #ifndef federateTree_H_
10 #define federateTree_H_
14 #include <qtreewidget.h>
18 #include <vlutil/vlTime.h>
19 #include <vlutil/vlString.h>
43 virtual QSize sizeHint()
const;
46 virtual void hideEvent( QHideEvent* event );
55 virtual bool removeFederation(
const QString& name );
58 virtual void removeAllFederations();
61 virtual void updateFederationColor(
const MAKRti::DtString&
federationName,
const QColor& color );
67 const QString& fedexName);
73 virtual bool removeFederate(
int federateHandle,
const QString& fedexName,
74 bool clearedDefunct =
false );
77 virtual void displayLoadingIndication();
80 virtual void removeLoadingIndication();
83 bool isFederateValid(
int federateHandle,
const QString& fedexName )
const;
86 void processInvalidList();
120 void setFederateRemovalTime(
float newTime);
123 float getFederateRemovalTime()
const;
126 void enableDeletion(
bool enable );
129 QString getTreeFederationName(
const MAKRti::DtString& federationName );
132 void forceFederateSelection(
int federateHandle,
const MAKRti::DtString& federation);
135 void forceFederationSelection(
const MAKRti::DtString& federation);
138 void forceClearSelection();
141 void saveGuiConfiguration(
const MAKRti::DtFilename& configFile);
144 void loadGuiConfiguration(
const MAKRti::DtFilename& configFile);
159 virtual void updateFederateItemFromForwarderInformation(
192 FederationNameIndex = 0,
193 FederateTypeAndHandleIndex = 0,
238 void setAllColumns(
const std::map<QString, std::pair<int, bool> >& columns );
241 void allColumns( std::map<QString, std::pair<int, bool> >& columns );
244 void showColCustomizeDlg();
247 void deleteSelectedFed();
251 void destroySelectedFederations();
254 void updateEnableNetworkTestingForSelectedFederations();
257 void openFedWebSpy();
260 void showLatencyTest();
263 void clearAllDefunctFederates();
266 bool hasValidFederates()
const;
269 void clearCurrDefunctFederates();
275 void signalSelectionChange();
278 void showContextMenu(
const QPoint& );
281 void fedDeleteRequest(
int,
const QString& );
282 void federationDeleteRequest(
const QString& fedexName );
283 void openFedWebSpyRequest(
const QString&,
int );
284 void enableNetworkTestingRequest(
const QString& );
285 void disableNetworkTestingRequest(
const QString& );
286 void showFedLatencyTest(
const QString&,
int );
289 void federateSelected(
const MAKRti::DtString& federation,
int federateHandle);
292 void federationSelected(
const MAKRti::DtString& name);
295 void nothingSelected();
298 void multipleItemsSelected();
301 void defunctFederateRemoved(
const MAKRti::DtString& federation,
323 const QString& d,
unsigned sz)