#include <MContextStateCondition.h>
|
|
| ContextStateCondition (const std::string &key, ItemContext::ItemState state, ItemContext::StateScope scope) |
| |
|
void | setScope (ItemContext::StateScope stateScope) |
| |
|
ItemContext::StateScope | getScope () const |
| |
|
void | setExpectedState (ItemContext::ItemState expectedState) |
| |
|
ItemContext::ItemState | getExpectedState () const |
| |
|
void | setKey (const std::string &key) |
| |
|
const std::string & | getKey () const |
| |
| bool | IsSatisfied (const ItemContext &context, const GenericGeoObjectAdapter &conditionObjectAccessor) override |
| |
| virtual bool | IsSatisfied (const ItemContext &context, const GenericGeoObjectAdapter &conditionObjectAccessor)=0 |
| |
|
virtual std::chrono::seconds | getRefreshInterval () const |
| |
|
virtual void | getMapScaleTransitions (std::set< double > &transitions) const |
| |
|
|
std::string | _key |
| |
|
ItemContext::ItemState | _expectedState |
| |
|
ItemContext::StateScope | _scope |
| |
|
|
static std::chrono::seconds | InfiniteRefresh () |
| |
ContextStateCondition - Short description. Detailed description.
◆ IsSatisfied()
Depends true if condition is satisfied, otherwise false
- Parameters
-
| context | Contains system parameters such as geo contest, settings and variables |
| conditionObjectAccessor | Object to test (typically track or draw object) |
- Returns
- true if satisfied, otherwise false
Implements Maria::Condition.
The documentation for this class was generated from the following files:
- Native/MariaNative/MStyleCore/MContextStateCondition.h
- Native/MariaNative/MStyleCore/MContextStateCondition.cpp