VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
14 #include <vrvUtil/signalslib.h>
15 
16 namespace makVrv
17 {
18 
19  class DtDe;
20  class DtSettingsBackup;
21  class DtExampleInterface;
22  class DtPersistenceControlsInterface;
23 
28  {
29  public:
30 
34 
36  virtual ~DtExampleLogic();
37 
38  protected:
39 
41  virtual void sendSettingsToGui();
42 
44  void slot_onDisplayEngineInitialized();
45 
47  void slot_onIntChanged(int val);
48 
50  virtual void on_import();
51  virtual void on_export();
52  virtual void on_importFilePathChosen(const std::string& filePath);
53  virtual void on_exportFilePathChosen(const std::string& filePath);
54 
56  virtual void settingsRestored(const DtSettingsBackup* b);
57 
58 
62 
63  vrvSignalsLib::connection myPostInitializeConnection;
64 
65  };
66 
67 }
#define DT_DLL_EXAMPLEDIALOGPAGE
Definition: exampleDialogPagePlugin.h:19
vrvSignalsLib::connection myPostInitializeConnection
Definition: DtExampleLogic.h:63
Example Logic (based on humble dialog pattern).
Definition: DtExampleLogic.h:26
Contains DLL export macros.
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
DtPersistenceControlsInterface & myPersistenceInterface
Definition: DtExampleLogic.h:61
DtDe & myDe
Definition: DtExampleLogic.h:59
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
Base class to provide boost signal/slot management.
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
Example Interface (based on the humble dialog pattern).
Definition: DtExampleInterface.h:21
DtExampleInterface & myInterface
Definition: DtExampleLogic.h:60

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)