VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tenaBrokerDialog.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <tenaBroker/dllExport.h>
13 #include <widgets/brokerDialog.h>
14 
15 namespace MAKVrExchange
16 {
17 
18  namespace DtTenaBroker
19  {
20 
21  class DtTenaBroker;
22  class DtTenaBrokerInitializer;
23 
27  { Q_OBJECT;
28  public:
29 
30  // The TENA specific columns in the Object Dialog
31  enum {
32  ThrottleRateCol = 4,
33  TickRateCol = 5
34  };
35 
36  public:
37 
41  static DtBrokerDialog* create( DtBroker* broker,
42  DtBrokerInitializer* init, QWidget* parent = 0 );
43 
44  protected:
45 
48  QWidget* parent = 0, size_t tickCollectionSize = 10 );
49 
50  public:
51 
53  virtual ~DtTenaBrokerDialog();
54 
56  virtual DtTenaBrokerInitializer* tenaInitializer();
57 
58  protected:
59 
62 
64  virtual void initObjectListViewHeaders();
65 
67  virtual DtConnectionSettingsWidget* instantiateConnectionSettingsWidget();
68 
70  virtual DtGeneralSettingsWidget* instantiateGeneralSettingsWidget();
71 
73 
75  virtual void updateObjectText( const DtBrokerObject* brokerObject,
76  QTreeWidgetItem* item, const QString& status );
77 
80  virtual void objectRemoved( const DtBrokerObject* brokerObj );
81 
83  virtual DtTime trackObjectTickTime( const DtBrokerObject* brokerObj, DtTime time );
84 
85  private:
86 
88  DtTenaBrokerDialog( const DtTenaBrokerDialog& other );
89 
91  DtTenaBrokerDialog& operator = ( const DtTenaBrokerDialog& other );
92 
93  protected:
94 
95  typedef std::pair<size_t,DtTime*> TimeSamples;
96  typedef std::map<const DtBrokerObject*,TimeSamples> BrokerObjectTimeContainer;
97 
99 
100  const size_t mySampleSize;
101 
103 
104  };
105 
106  }
107 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)