VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSpeedTreeForestSignaler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvSt/vrvSt.h>
14 #include <vrvUtil/signalslib.h>
15 
16 namespace osg
17 {
18  class Node;
19 }
20 
21 namespace makVrv
22 {
23  class DtSpeedTreeForest;
27  {
28  public:
30  static DtSpeedTreeForestSignaler& instance(DtDe&);
31 
33  virtual ~DtSpeedTreeForestSignaler();
34 
36  boost::signalslib::signal<void (DtSpeedTreeForest&, osg::Node*)> signal_forestCreated;
37 
39  boost::signalslib::signal<void (DtSpeedTreeForest&, osg::Node*)> signal_forestToBeDestroyed;
40 
41  protected:
44 
45  private:
48  };
49 }
DtSpeedTreeForestSignaler is a signaler for DtSpeedTreeForest changes.
Definition: DtSpeedTreeForestSignaler.h:26
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVST
Definition: vrvSt.h:20
Contains DLL export macros.
Contains makVrv::DtVirtualBaseClass class.
boost::signalslib::signal< void(DtSpeedTreeForest &, osg::Node *)> signal_forestCreated
Signal emitted when a forest is created.
Definition: DtSpeedTreeForestSignaler.h:36
boost::signalslib::signal< void(DtSpeedTreeForest &, osg::Node *)> signal_forestToBeDestroyed
Signal emitted when a forest is about to be destroyed.
Definition: DtSpeedTreeForestSignaler.h:39
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

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)