CA Context ( antares.model.context.CAContext )¶
For predefined attributes for CA context, see here.
Antares context module.
-
class
antares.model.context.CAContext(container_id)¶ Bases:
antares.model.context.ContextRepresents a CA (Camera Alert) context object which is a sub-class of
Context. It contains all the properties defined under CA context.Param: container_id(int): ID of the object that owns the context. Attributes Summary
nameName of CA context. Methods Summary
assembleVector(context, propname)The function assembles a vector of all the values of an Property inside a context of the alert replicas of the camera alert. commit(cur)__str__()Attributes Documentation
-
name= 'CA'¶ Name of CA context.
Type: string
Methods Documentation
-
assembleVector(context, propname)¶ The function assembles a vector of all the values of an Property inside a context of the alert replicas of the camera alert.
Parameters: Returns: an array of values
Return type: numpy array
-
commit(cur)¶
-
__str__()¶
-