Package gnue :: Package common :: Package logic :: Module GTriggerCore :: Class GTriggerCore
[show private | hide private]

Class GTriggerCore

Known Subclasses:
GObj

Base class for all objects that can be exported to action/trigger namespace.

Descendants can define how they want to be seen in action/trigger code by setting the following properties:
Method Summary
  __init__(self)
Initialize a GTriggerCore instance.
  __repr__(self)
  create_namespace_object(self, global_namespace, namespace_name)
Construct a namespace object tree from an XML (definitions.GObjects.GObj) object tree.
  get_namespace_object(self)
Return the namespace object that mirrors this object in the action/trigger namespace.

Method Details

__init__(self)
(Constructor)

Initialize a GTriggerCore instance.

__repr__(self)
(Representation operator)

create_namespace_object(self, global_namespace, namespace_name)

Construct a namespace object tree from an XML (definitions.GObjects.GObj) object tree.

This function creates a NamespaceElement object for each definitions.GObjects.GObj in the object.

get_namespace_object(self)

Return the namespace object that mirrors this object in the action/trigger namespace.


GNUe Home

Public API

Developer's Corner