LuciadCPillar 2023.1.04
|
This class is used by IFeatureStateObserver to pass information about FeatureState changes. More...
#include <luciad/layers/features/FeatureStateManager.h>
Public Member Functions | |
bool | getChange (const FeatureState &featureState, const LayerFeatureId &layerFeatureId) const |
Returns the new value of the feature state for the given feature. More... | |
std::vector< LayerFeatureId > | getChangedFeatures (const FeatureState &featureState) const |
Returns the list of features for which the given feature state has been changed. More... | |
std::vector< FeatureState > | getChangedFeatureStates () const |
Returns the list of feature states that has been changed for at least one Feature in this event. More... | |
This class is used by IFeatureStateObserver to pass information about FeatureState changes.
It allows you to inspect which features have been changed, and their new values. One call to FeatureStateManager::applyStateChange will result in one FeatureStateEvent instance.
See FeatureStateManager for a usage example.
bool luciad::FeatureStateEvent::getChange | ( | const FeatureState & | featureState, |
const LayerFeatureId & | layerFeatureId | ||
) | const |
Returns the new value of the feature state for the given feature.
featureState | a feature state |
layerFeatureId | a feature |
std::vector< LayerFeatureId > luciad::FeatureStateEvent::getChangedFeatures | ( | const FeatureState & | featureState | ) | const |
Returns the list of features for which the given feature state has been changed.
featureState | a feature state |
std::vector< FeatureState > luciad::FeatureStateEvent::getChangedFeatureStates | ( | ) | const |