![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <MContextStateCondition.h>
Public Member Functions | |
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 |
Protected Attributes | |
std::string | _key |
ItemContext::ItemState | _expectedState |
ItemContext::StateScope | _scope |
ContextStateCondition - Short description. Detailed description.
|
overridevirtual |
Depends true if condition is satisfied, otherwise false
context | Contains system parameters such as geo contest, settings and variables |
conditionObjectAccessor | Object to test (typically track or draw object) |
Implements Maria::Condition.