VR-Forces 4.1.1 Class Documentation
simulationCommandSetTimeOfDay.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: simulationCommandSetTimeOfDay.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
19 
21 
22 namespace makVrf
23 {
25  {
26  public:
29 
30  virtual void setObjectName(const DtString&);
31  virtual DtString objectName() const;
32 
33  virtual DtSimCommandObjectWrapper* clone() const;
34  };
35 
37  {
38  Q_OBJECT
39  public:
40  //CTOR
41  DtSimulationCommandSetTimeOfDayDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
42 
43  //DTOR
45 
47  virtual void setTime(double secondsPastMidnight);
48 
49  virtual float getTime() const;
50 
51  protected:
52  virtual void sendRequest();
53  virtual void setupStatement(const DtSimStatement*);
54 
55  virtual bool wantsSelectionOfObjectInCommandMode() const;
56 
57  protected:
58 
59  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
60  virtual bool editStatement(const std::vector<makVrv::DtSimEntry*>& data, const DtSimStatement* s);
61 
62  protected:
63 
65  };
66 
68  {
69  public:
70  virtual DtSimulationCommandDialogInterface* create(makVrv::DtDe&, QWidget* parent);
71  virtual bool supportsType(makVrv::DtDe&, const DtSimCommandMessageType&, const DtSimStatement*) const;
72  virtual std::string objectNameFromStatement(const DtSimCommand*) const;
73  };
74 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)