Home · Overviews · Reference · Classes |
#include <RuleEngineScheduler>
There is one RuleEngineScheduler per RuleEngine instance.
Equivalent to QList<RuleEngineThread *>
Attempt to begin running commands for cats. Returns true if the rule can run, false if it is throttled.
Call unlocked.
Do the post-run cleanup for me. Set the state to state.
Call unlocked.
Dump circular dependencies into a .dot file and inform the user where this file has been written. This happens after the engine has run all of the rules it can run.
Note that rule is not used.
Scheduler stalled - no locking needed.
Finish running commands for cats.
Call unlocked.
Returns a list with the number of job running for each category.
Schedule srule.
Call unlocked.
Returns the scheduler rule that matches n.
Call unlocked.
Returns the scheduler rule for r.
Call unlocked.
Add a throttled srule to the ready queue. It will not be taken off the queue unless beginCategory() returns true.
Call unlocked.
Scheduler rule me must wait for requiredRules to complete before running. If the rules have already run the rule may be executed immediately.
Call unlocked.
Wait until there are no more rules to process (or deadlock is reached).
Call unlocked.
All the available threads. Used for tracking and shutdown.
Copyright © 2009 Trolltech | Qt Extended - QBuild Maintainer Guide |