![]() |
VR-Forces 5.0.1 Developer's Guide
|
The DtDynamicFeatureLayer is the base implementation of a layer of data which contains features that use meta files.
Public Types | |
| typedef std::map< DtUniqueID, DtEntityFacade * > | DynamicFeatureEntityMap |
Public Member Functions | |
| DtDynamicFeatureLayer (DtDe &de, DtAgentManagerInterface &sceneInterface) | |
| virtual | ~DtDynamicFeatureLayer () |
| virtual void | addDynamicFeature (DtEntityFacade *dynamicEntity) |
| virtual bool | destroyDyanmicFeature (DtUniqueID id) |
| const DynamicFeatureEntityMap & | dynamicFeatures () const |
Protected Types | |
| typedef boost::unordered_multimap < std::string, std::string > | StylesMap |
Protected Member Functions | |
| void | slot_sceneCreated () |
| void | slot_postInitialize () |
| virtual void | initializeFeatureCreators () |
| bool | readStyleListFile (const std::string &path, const std::string &layerListFileName, StylesMap &map) |
Protected Attributes | |
| DtDe & | myDe |
| DtAgentManagerInterface & | mySceneInterface |
| DynamicFeatureEntityMap | myDynamicFeatureEntities |
| DtSignalConnectionManager | myConnections |
| std::string | myName |
| StylesMap | myStylesMap |
| boost::signalslib::connection | myPostInitializeConnection |
Static Protected Attributes | |
| static const char * | theDynamicFeaturesLayerList |
| typedef std::map<DtUniqueID, DtEntityFacade*> makVrv::DtDynamicFeatureLayer::DynamicFeatureEntityMap |
List of features.
|
protected |
Type for sets of style names (layers) we listen to.
| makVrv::DtDynamicFeatureLayer::DtDynamicFeatureLayer | ( | DtDe & | de, |
| DtAgentManagerInterface & | sceneInterface | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Add entity with meta file features. Ownership of the entity will be passed to the layer.
|
virtual |
Destroys the dynamic feature with the unique id. Returns true if the entity was destroyed, false otherwise.
| const DynamicFeatureEntityMap& makVrv::DtDynamicFeatureLayer::dynamicFeatures | ( | ) | const |
Get the container of entities that use .meta files associated with the layer.
|
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.
|
protected |
slot used to wait for postInitialized signal
|
protectedvirtual |
Register creators with the streamed feature manager for each entity layer that uses .meta files.
|
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.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |