Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | cancel |
| def | execute |
| def | make |
Private Member Functions | |
| def | _get_action_conditions |
| def | _signal_complete |
Private Attributes | |
| _cancel_lock | |
| _cancelled | |
| _complete_flag | |
| _immediates | |
| _laters | |
A plan for changing the state of an RT System. A plan has two sets of actions to perform. The first is stored in a sorted list; it is all actions that are to be executed immediately. The second set is stored in a separate list, also sorted. This set contains actions that will be executed at a later point in time, based on some condition. Many of these will execute on their own threads. To execute the plan, call it. A plan can be cancelled during execution with the @ref cancel method. As immediate actions will all be executed before @ref execute returns, this is mainly useful for stopping the delayed actions after an error occurs.
| def rtshell.plan.Plan.__init__ | ( | self, | |
| args, | |||
| kwargs | |||
| ) |
| def rtshell.plan.Plan.__str__ | ( | self | ) |
| def rtshell.plan.Plan._get_action_conditions | ( | self, | |
| conds_source, | |||
| action | |||
| ) | [private] |
| def rtshell.plan.Plan._signal_complete | ( | self | ) | [private] |
| def rtshell.plan.Plan.cancel | ( | self | ) |
| def rtshell.plan.Plan.execute | ( | self, | |
| args, | |||
| kwargs | |||
| ) |
| def rtshell.plan.Plan.make | ( | self, | |
| rtsprofile, | |||
| actions, | |||
| conds_source, | |||
| monitor_target | |||
| ) |
rtshell::plan.Plan::_cancel_lock [private] |
rtshell::plan.Plan::_cancelled [private] |
rtshell::plan.Plan::_complete_flag [private] |
rtshell::plan.Plan::_immediates [private] |
rtshell::plan.Plan::_laters [private] |