29 explicit Context (
const string &);
33 string getObjectTypeAsString ()
override;
34 string toString ()
override;
35 string getProperty (
const string &)
override;
36 void setProperty (
const string &,
const string &, Time dur = 0)
override;
37 void sendKey (
const string &,
bool)
override;
38 void sendTick (Time, Time, Time)
override;
43 const list<Event *> *getPorts ();
44 void addPort (
Event *);
46 const list<pair<list<Action>, list<Action> > > *getLinks ();
47 void addLink (list<Action>, list<Action>);
49 void incAwakeChildren ();
50 void decAwakeChildren ();
52 bool getLinksStatus ();
53 void setLinksStatus (
bool);
57 list<pair<list<Action>, list<Action> > >
_links;
bool afterTransition(Event *, Event::Transition) override
Finishes event transition.
Definition Context.cpp:236
list< pair< list< Action >, list< Action > > > _links
List of links.
Definition Context.h:57
bool _status
Whether links are active.
Definition Context.h:59
bool beforeTransition(Event *, Event::Transition) override
Initiates event transition.
Definition Context.cpp:171