Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
rtctree.exec_context.ExecutionContext Class Reference

Execution context object. More...

List of all members.

Public Member Functions

def __init__
def activate_component
def deactivate_component
def get_component_state
def handle
def kind
def kind_as_string
def kind_string
def owner
def owner_name
def participant_names
def participants
def properties
def rate
def rate
def reparse
def reset_component
def running
def running_as_string
def running_string
def start
def stop

Public Attributes

 kind

Static Public Attributes

int EVENT_DRIVEN = 2
 Constant for an event driven execution context.
int OTHER = 3
 Constant for an execution context of some other type.
int PERIODIC = 1
 Constant for a periodic execution context.

Private Member Functions

def _parse

Private Attributes

 _handle
 _is_service
 _mutex
 _obj
 _owner
 _participants
 _properties

Detailed Description

Execution context object.

An execution context, within which components may be executing.

Definition at line 30 of file exec_context.py.


Constructor & Destructor Documentation

def rtctree.exec_context.ExecutionContext.__init__ (   self,
  ec_obj = None,
  handle = None,
  args,
  kwargs 
)
Constructor.

@param ec_obj The CORBA ExecutionContext object to wrap.
@param handle The handle of this execution context, which can be used
      to uniquely identify it.

Definition at line 32 of file exec_context.py.


Member Function Documentation

Definition at line 224 of file exec_context.py.

Activate a component within this context.

@param comp_ref The CORBA LightweightRTObject to activate.

Definition at line 51 of file exec_context.py.

Deactivate a component within this context.

@param comp_ref The CORBA LightweightRTObject to deactivate.

Definition at line 60 of file exec_context.py.

Get the state of a component within this context.

@param comp The CORBA LightweightRTObject to get the state of.
@return The component state, as a LifeCycleState value.

Definition at line 78 of file exec_context.py.

The handle of this execution context.

Definition at line 146 of file exec_context.py.

The kind of this execution context.

Definition at line 152 of file exec_context.py.

def rtctree.exec_context.ExecutionContext.kind_as_string (   self,
  add_colour = True 
)
Get the type of this context as an optionally coloured string.

@param add_colour If True, ANSI colour codes will be added.
@return A string describing the kind of execution context this is.

Definition at line 88 of file exec_context.py.

The kind of this execution context as a coloured string.

Definition at line 164 of file exec_context.py.

The RTObject that owns this context.

Definition at line 169 of file exec_context.py.

The name of the RTObject that owns this context.

Definition at line 175 of file exec_context.py.

The names of the RTObjects participating in this context.

Definition at line 190 of file exec_context.py.

The list of RTObjects participating in this context.

Definition at line 184 of file exec_context.py.

The execution context's extra properties dictionary.

Definition at line 197 of file exec_context.py.

The execution rate of this execution context.

Definition at line 203 of file exec_context.py.

def rtctree.exec_context.ExecutionContext.rate (   self,
  new_rate 
)

Definition at line 209 of file exec_context.py.

Reparse this execution context.

This causes the execution context's state, profile and other
information to be reloaded from the remote object.

Definition at line 108 of file exec_context.py.

Reset a component within this context.

@param comp_ref The CORBA LightweightRTObject to reset.

Definition at line 69 of file exec_context.py.

Is this execution context running?

Definition at line 214 of file exec_context.py.

def rtctree.exec_context.ExecutionContext.running_as_string (   self,
  add_colour = True 
)
Get the state of this context as an optionally coloured string.

@param add_colour If True, ANSI colour codes will be added.
@return A string describing this context's running state.

Definition at line 117 of file exec_context.py.

The state of this execution context as a coloured string.

Definition at line 220 of file exec_context.py.

Start the context.

Definition at line 135 of file exec_context.py.

Stop the context.

Definition at line 140 of file exec_context.py.


Member Data Documentation

Definition at line 38 of file exec_context.py.

Definition at line 38 of file exec_context.py.

Definition at line 38 of file exec_context.py.

Definition at line 38 of file exec_context.py.

Definition at line 224 of file exec_context.py.

Definition at line 224 of file exec_context.py.

Definition at line 224 of file exec_context.py.

Constant for an event driven execution context.

Definition at line 240 of file exec_context.py.

Definition at line 93 of file exec_context.py.

Constant for an execution context of some other type.

Definition at line 242 of file exec_context.py.

Constant for a periodic execution context.

Definition at line 238 of file exec_context.py.


The documentation for this class was generated from the following file:


rtctree
Author(s): Geoffrey Biggs
autogenerated on Wed Aug 26 2015 16:13:08