This class is used to build feature state changes.
More...
#include <luciad/layers/features/FeatureStateManager.h>
This class is used to build feature state changes.
One instance of this class represents an atomic feature state change operation that will result in exactly 1 FeatureStateEvent.
See FeatureStateManager for a usage example.
◆ ~Change()
virtual luciad::FeatureStateManager::Change::~Change |
( |
| ) |
|
|
virtualdefault |
◆ clearState()
virtual void luciad::FeatureStateManager::Change::clearState |
( |
const FeatureState & |
featureState | ) |
|
|
pure virtual |
Clear the given feature state.
As a result, no single feature will have the given feature state enabled.
- Parameters
-
featureState | the feature state to clear |
◆ create()
◆ setState()
virtual void luciad::FeatureStateManager::Change::setState |
( |
LayerFeatureId |
layerFeatureId, |
|
|
const FeatureState & |
featureState, |
|
|
bool |
enabled |
|
) |
| |
|
pure virtual |
Sets the given state for the given feature identifier.
- Parameters
-
layerFeatureId | the feature for which to modify the state |
featureState | the feature state to modify |
enabled | true to enable the feature state, and false to disable it |