The DtDynamicFeatureLayer is the base implementation of a layer of data which contains features that use meta files.
More...
Protected Types |
typedef
boost::unordered_multimap
< std::string, std::string > | StylesMap |
| | Type for sets of style names (layers) we listen to.
|
Protected Member Functions |
| void | slot_sceneCreated () |
| | If the IG is initialized when this is called, it will call initializeFeatureCreators.
|
| void | slot_postInitialize () |
| | slot used to wait for postInitialized signal
|
| virtual void | initializeFeatureCreators () |
| | Register creators with the streamed feature manager for each entity layer that uses .meta files.
|
| bool | readStyleListFile (const std::string &path, const std::string &layerListFileName, StylesMap &map) |
| | Read a file that specifies a list of osgEarth style names that we wish to have our registered builder called for when features are streamed in.
|
Detailed Description
The DtDynamicFeatureLayer is the base implementation of a layer of data which contains features that use meta files.
Member Typedef Documentation
Type for sets of style names (layers) we listen to.
Constructor & Destructor Documentation
| virtual makVrv::DtDynamicFeatureLayer::~DtDynamicFeatureLayer |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtDynamicFeatureLayer::addDynamicFeature |
( |
DtEntityFacade * |
dynamicEntity | ) |
|
|
virtual |
Add entity with meta file features.
Ownership of the entity will be passed to the layer.
| virtual bool makVrv::DtDynamicFeatureLayer::destroyDyanmicFeature |
( |
DtUniqueID |
id | ) |
|
|
virtual |
Destroys the dynamic feature with the unique id.
Returns true if the entity was destroyed, false otherwise.
Get the container of entities that use .meta files associated with the layer.
| void makVrv::DtDynamicFeatureLayer::slot_sceneCreated |
( |
| ) |
|
|
protected |
If the IG is initialized when this is called, it will call initializeFeatureCreators.
Otherwise, it connects to the postInitialize signal, which will then call initializeFeatureCreators.
| void makVrv::DtDynamicFeatureLayer::slot_postInitialize |
( |
| ) |
|
|
protected |
slot used to wait for postInitialized signal
| virtual void makVrv::DtDynamicFeatureLayer::initializeFeatureCreators |
( |
| ) |
|
|
protectedvirtual |
Register creators with the streamed feature manager for each entity layer that uses .meta files.
| bool makVrv::DtDynamicFeatureLayer::readStyleListFile |
( |
const std::string & |
path, |
|
|
const std::string & |
layerListFileName, |
|
|
StylesMap & |
map |
|
) |
| |
|
protected |
Read a file that specifies a list of osgEarth style names that we wish to have our registered builder called for when features are streamed in.
Member Data Documentation
| const char* makVrv::DtDynamicFeatureLayer::theDynamicFeaturesLayerList |
|
staticprotected |
| DtDe& makVrv::DtDynamicFeatureLayer::myDe |
|
protected |
| std::string makVrv::DtDynamicFeatureLayer::myName |
|
protected |
| StylesMap makVrv::DtDynamicFeatureLayer::myStylesMap |
|
protected |
| boost::signals::connection makVrv::DtDynamicFeatureLayer::myPostInitializeConnection |
|
protected |
The documentation for this class was generated from the following file: