VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 columns in the Object Dialog
31  enum {
32  StatusCol = 0,
33  NameCol = 1,
34  MarkingTextCol = 2,
35  ThrottleRateCol = 3,
36  TickRateCol = 4
37  };
38 
39  public:
40 
44  static DtBrokerDialog* create( DtBroker* broker,
45  DtBrokerInitializer* init, QWidget* parent = 0 );
46 
47  protected:
48 
51  QWidget* parent = 0, size_t tickCollectionSize = 10 );
52 
53  public:
54 
56  virtual ~DtTenaBrokerDialog();
57 
59  virtual DtTenaBrokerInitializer* tenaInitializer();
60 
61  protected:
62 
65 
67  virtual DtConnectionSettingsWidget* instantiateConnectionSettingsWidget();
68 
70  virtual DtGeneralSettingsWidget* instantiateGeneralSettingsWidget();
71 
73  virtual void initObjectListViewHeaders();
74 
76 
78  virtual void updateObjectText( const DtBrokerObject* brokerObject,
79  QTreeWidgetItem* item, const QString& status );
80 
83  virtual void objectRemoved( const DtBrokerObject* brokerObj );
84 
86  virtual DtTime trackObjectTickTime( const DtBrokerObject* brokerObj, DtTime time );
87 
88  private:
89 
91  DtTenaBrokerDialog( const DtTenaBrokerDialog& other );
92 
94  DtTenaBrokerDialog& operator = ( const DtTenaBrokerDialog& other );
95 
96  protected:
97 
98  typedef std::pair<size_t,DtTime*> TimeSamples;
99  typedef std::map<const DtBrokerObject*,TimeSamples> BrokerObjectTimeContainer;
100 
102 
103  const size_t mySampleSize;
104 
106 
107  };
108 
109  }
110 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)