VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
guiEvent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 
12 namespace makVrfEvents
13 {
15  {
16  public:
18  {
19  NoType = 0,
20  MultipleEnvironments
21  };
22 
23  DtGuiEvent(GuiEventType);
24  virtual ~DtGuiEvent() override;
25 
26  DtGuiEvent(const DtGuiEvent &orig);
27  DtGuiEvent& operator=(const DtGuiEvent&);
28 
29  void setData(const std::string& d)
30  {
31  myData = d;
32  }
33 
34  const std::string& data() const
35  {
36  return myData;
37  }
38 
40  {
41  myGuiEventType = t;
42  }
43 
45  {
46  return myGuiEventType;
47  }
48 
49  virtual DtEvent* clone() const override { return new DtGuiEvent(*this); };
50 
51  protected:
52  GuiEventType myGuiEventType = NoType;
53  std::string myData;
54  };
55 }
virtual DtEvent * clone() const override
Definition: guiEvent.h:49
Definition: event.h:13
GuiEventType guiEventType() const
Definition: guiEvent.h:44
void setGuiEventType(GuiEventType t)
Definition: guiEvent.h:39
const std::string & data() const
Definition: guiEvent.h:34
void setData(const std::string &d)
Definition: guiEvent.h:29
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfCommunicationManagerDefines.h:26
std::string myData
Definition: guiEvent.h:53
Definition: guiEvent.h:14
GuiEventType
Definition: guiEvent.h:17

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)