![]() |
VR-Forces 4.8 Class Documentation
|
DtOsgEarthStreamedFeatureManager is an osgEarth-specific implemenation of a DtStreamedFeatureManager. More...

Classes | |
| struct | RegisteredFeatureContainer |
Public Member Functions | |
| virtual | ~DtOsgEarthStreamedFeatureManager () |
| DTOR. More... | |
Public Member Functions inherited from makVrv::DtStreamedFeatureManager | |
| virtual | ~DtStreamedFeatureManager () |
| DTOR. More... | |
| virtual void | addStreamedFeatureCreator (const std::string ®istrantName, const std::string &styleName, DtStreamedFeatureCreator *creator) |
| Register a creator to be called when features are streamed in. More... | |
Protected Types | |
| typedef std::list < RegisteredFeatureContainer > | StrandedFeaturesList |
Protected Types inherited from makVrv::DtStreamedFeatureManager | |
| typedef std::pair< std::string, DtStreamedFeatureCreator * > | CreatorElement |
| typedef boost::unordered_multimap < std::string, CreatorElement > | FeatureClassCreatorMap |
| typedef std::pair < FeatureClassCreatorMap::iterator, FeatureClassCreatorMap::iterator > | RangeIterFeatureClassToCreator |
| typedef std::pair < FeatureClassCreatorMap::const_iterator, FeatureClassCreatorMap::const_iterator > | ConstRangeIterFeatureClassToCreator |
Protected Member Functions | |
| virtual void | onDataLoaded (const osgEarth::Map *map, const osgEarth::Layer *layer, const osg::Node *data) |
| virtual void | checkAndProcessStrandedFeatures () |
| Method called by the sceneDriver tick to process any features that need to be deleted. More... | |
| DtOsgEarthStreamedFeatureManager (DtDe &de) | |
| DtOsgEarthStreamedFeatureManager () | |
| virtual void | slot_terrainPatchCreated (DtTerrainPatchObject &patch) |
| Find out when the terrain patch is ready to accept DtOsgEarthFeatureDataBroker callbacks. More... | |
| virtual void | moveFeaturesToStrandedList (const osgEarth::CustomFeatureNode *featureNode) |
| virtual void | processNewFeatures (const osgEarth::CustomFeatureNode *featureNode) |
| When a callback on the DtOsgEarthFeatureDataBroker is fired, it looks for CustomFeatureNodes attached to nodes in the tile's scenegrph. More... | |
| virtual void | slot_customFeatureNodeToBeDeleted (const osgEarth::CustomFeatureNode *node) |
| The DtOsgEarthFeatureDataBroker callback connects the DtCustomFeatureNode's signal_aboutToBeDeleted to the our slot_customFeatureNodeToBeDeleted slot. More... | |
Protected Member Functions inherited from makVrv::DtStreamedFeatureManager | |
| DtStreamedFeatureManager (DtDe &de) | |
| CTOR - protected; only created by the DtStreamedFeatureManagerCreator class. More... | |
| DtStreamedFeatureManager () | |
| Unimplemented default CTOR. More... | |
Protected Attributes | |
| DtKeyedSignalConnectionManager < const osgEarth::CustomFeatureNode * > | myKeyedConnections |
| boost::mutex | myStrandedFeatureMutex |
| StrandedFeaturesList | myStrandedFeatures |
Protected Attributes inherited from makVrv::DtStreamedFeatureManager | |
| DtDe & | myDe |
| FeatureClassCreatorMap | myFeatureClassCreators |
Friends | |
| class | DtOsgEarthStreamedFeatureCallback |
| Friended with feature callback to allow it to call our processing methods. More... | |
| class | DtOsgEarthStreamedFeatureManagerCreator |
| Friended with creator so that it can use our constructor. More... | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtStreamedFeatureManager | |
| boost::signal< void(const std::string ®istrantName, DtUniqueID featurId)> | signal_featureAboutToBeDeleted |
| Signal raised when a feature has streamed out (of page cache) More... | |
DtOsgEarthStreamedFeatureManager is an osgEarth-specific implemenation of a DtStreamedFeatureManager.
The manager uses a DtOsgEarthFeatureDataBroker to detect when tiles page in, and looks for CustomFeatureNodes in the sceneGraph of that tile. When found, those feature requests are processed using any registered creators
|
protected |
|
virtual |
DTOR.
|
protected |
|
protected |
|
protectedvirtual |
When a callback on the DtOsgEarthFeatureDataBroker is fired, it looks for CustomFeatureNodes attached to nodes in the tile's scenegrph.
These get passed onto processNewFeatures() which calls any registered creators for the features contained within
|
protectedvirtual |
The DtOsgEarthFeatureDataBroker callback connects the DtCustomFeatureNode's signal_aboutToBeDeleted to the our slot_customFeatureNodeToBeDeleted slot.
|
protectedvirtual |
|
protectedvirtual |
Method called by the sceneDriver tick to process any features that need to be deleted.
This method is mutex-protected, since features are placed on the stranded list from osgEarth paging threads (and the list will be processed in the render thread).
Implements makVrv::DtStreamedFeatureManager.
|
protectedvirtual |
Find out when the terrain patch is ready to accept DtOsgEarthFeatureDataBroker callbacks.
When this signal fires, the manager looks up a terrain patch and installs an osgEarth data broker callback on osgEarth patches
|
protectedvirtual |
|
friend |
Friended with feature callback to allow it to call our processing methods.
|
friend |
Friended with creator so that it can use our constructor.
|
protected |
|
protected |
|
protected |