VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTerrainPageSignaler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
15 #include <boost/signals.hpp>
16 
17 namespace osg
18 {
19  class Node;
20  class Group;
21 }
22 
23 namespace makVrv
24 {
31  {
32  public:
34  static DtTerrainPageSignaler& instance(DtDe&);
35  static void registerInstance(DtDe& de, DtTerrainPageSignaler*);
36 
38  virtual ~DtTerrainPageSignaler();
39 
41  boost::signal<void (osg::Group* page, osg::Node* child)> signal_childPagedIn;
42 
45  boost::signal<void (osg::Group* page, osg::Node* child)> signal_childAboutToPageOut;
46 
48  virtual void setSignalsEnabled(bool enable);
49 
51  virtual bool signalsEnabled(void) const;
52 
53  protected:
55 
57  };
58 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)