VR-Exchange 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
genericUserInterface.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <broker/dllExport.h>
13 
14 namespace MAKVrExchange
15 {
16 
17  class DtBrokerObject;
18 
22  {
23  public:
24 
27 
30 
33 
37  virtual void brokerStarted() = 0;
38 
42  virtual void brokerStopped() = 0;
43 
47  virtual void show() = 0;
48 
52  virtual void showConfigurationOnly() { show(); }
53 
56  virtual void objectDiscovered( const DtBrokerObject* brokerObject ) = 0;
57 
60  virtual void objectUpdated( const DtBrokerObject* brokerObject ) = 0;
61 
64  virtual void objectRemoved( const DtBrokerObject* brokerObject ) = 0;
65 
67  virtual void addTranslator( const char* name,
68  bool reflectStatus, bool publishStatus, bool debugging ) = 0;
69 
71  virtual void deleteTranslator( const char* name ) = 0;
72 
74  virtual void updateTranslator( const char* name,
75  bool reflectStatus, bool publishStatus, bool debugging ) = 0;
76 
78  virtual void revertSettings() = 0;
79 
82  virtual void clientsUpdated() {};
83 
85  virtual bool darkModeEnabled() { return myDarkModeEnabled; };
86 
88  virtual void setDarkModeEnabled(bool enable) { myDarkModeEnabled = enable; };
89 
91 
92 
93  protected:
94  bool myDarkModeEnabled;
95 
96  private:
97 
100 
102  DtGenericUserInterface& operator = ( const DtGenericUserInterface& other );
103 
104  };
105 
106 }
virtual bool darkModeEnabled()
Get the dark mode status.
Definition: genericUserInterface.h:85
Provides container to hold pointers to Protocol/Portal objects.
Definition: brokerObject.h:24
DtGenericUserInterface()
Constructor.
Definition: genericUserInterface.h:26
virtual ~DtGenericUserInterface()
Destructor.
Definition: genericUserInterface.h:29
#define DT_DLL_BROKER
Definition: include/broker/dllExport.h:20
virtual void showConfigurationOnly()
Called when a request has been made to display the UI.
Definition: genericUserInterface.h:52
virtual void setDarkModeEnabled(bool enable)
Set the boolean for the current stylesheet theme.
Definition: genericUserInterface.h:88
An abstract version of a Broker Interface.
Definition: genericUserInterface.h:21
virtual void clientsUpdated()
Notifies that the number of clients being served has changed This is only used in client-based broker...
Definition: genericUserInterface.h:82

Document ID: Generated on Tue Aug 16 16:15:26 EDT 2022 from SVN revision 245901
Copyright © 2005-2022 MAK Technologies. All Rights Reserved (www.mak.com)