VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrlinkEventTranslator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
11 
12 #pragma once
13 
15 
16 #include <boost/signals2.hpp>
17 
18 namespace makVrfEvents
19 {
20  class DtEvent;
21 }
22 
23 namespace makVrf
24 {
25  class DtVrlinkNetworkInterface;
26  class DtVrlinkEventTranslatorManager;
27 
29  {
30  public:
32 
33  virtual ~DtVrlinkEventTranslator();
34 
36  virtual void init(DtVrlinkNetworkInterface*);
37 
39  virtual bool processEvent(const makVrfEvents::DtEvent&) = 0;
40 
41  bool initialized() const
42  {
43  return myInitialized;
44  }
45 
46  boost::signals2::signal<void (const makVrfEvents::DtEvent&)> signal_receivedEvent;
47 
48  protected:
50  bool myInitialized = false;
51  };
52 }
Definition: event.h:13
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)