VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthStreamedFeatureCallback.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
14 
15 namespace makVrv
16 {
17  class DtOsgEarthStreamedFeatureManager;
18 
26  {
27  protected:
30 
31  // CTOR
33 
36 
37  private:
42 
43  public: // DtOsgEarthFeatureDataBroker::Callback interface
44 
45  // Invoked by the broker when the layer is first loaded.
46  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode,
47  osgEarth::Layer* layer);
48 
50  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::Layer* layer,
51  osg::Node* data);
52 
53  // Invoked by the broker when new data arrives.
54  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::Layer* layer,
55  const osg::Node* data);
56 
60  virtual float callbackOrder();
61 
63  virtual const std::string& instanceClassName() const;
64 
65  public:
68  static const std::string& className();
69 
70  protected:
71  static const std::string theClassName;
72 
73  protected:
75  };
76 
81  {
82 
83  public:
86 
89 
90  private:
95 
96  public:
99  static DtOsgEarthStreamedFeatureCallbackCreator& instance(DtDe& de);
100 
102  static void registerInstance(DtDe& de,
104 
107 
108  };
109 }
Virtual base class.
Definition: DtVirtualBaseClass.h:22
The DtOsgEarthStreamedFeatureCallback creator for the DtOsgEarthStreamedFeatureCallbackCreator class...
Definition: DtOsgEarthStreamedFeatureCallback.h:80
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
static const std::string theClassName
Definition: DtOsgEarthStreamedFeatureCallback.h:71
DtOsgEarthStreamedFeatureManager & myFeatureManager
Definition: DtOsgEarthStreamedFeatureCallback.h:74
DtOsgEarthStreamedFeatureManager is an osgEarth-specific implemenation of a DtStreamedFeatureManager...
Definition: DtOsgEarthStreamedFeatureManager.h:44
Contains makVrv::DtVirtualBaseClass class.
DtOsgEarthFeatureDataBroker::Callback that is fired when a new feature data 'tile' pages in...
Definition: DtOsgEarthStreamedFeatureCallback.h:24
Definition: DtOsgEarthFeatureDataBroker.h:65
Contains makVrv::DtOsgEarthFeatureDataBroker class.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)