Arena  1.0
A content management system
 All Classes Files Functions Variables Pages
Events.py File Reference

This file extends AnObject with routines that allow the object to generate and manage events. More...

Classes

class  Library.Base.Events.AnEvent
 An event that can be emitted by a class instance. More...
 
class  Library.Base.Events.AnEventfulObject
 An object that can generate events. More...
 
class  Library.Base.Events.ALoggingEventfulObject
 An object that generates events and which has access to a log for status and debugging messages. More...
 

Variables

string Library.Base.Events.evStringRepresentation = "{name}:\n\t{params}"
 The format used to create a string representation of AnEvent.
 
string Library.Base.Events.eoStringRepresentation = "{name}:\n\t{params}\nEvents:\n\t{events}"
 The format used to create a string representation of AnEventfulObject.
 
dictionary Library.Base.Events.eoEvents
 The events generated by AnEventfulObject. More...
 
dictionary Library.Base.Events.leoEvents
 The events generated by ALoggingEventfulObject. More...
 

Detailed Description

This file extends AnObject with routines that allow the object to generate and manage events.

This file was constructed when I decided that arena needed to be more flexible; however, the plug-in system that was added to the code at the same time has proved flexible enough for my needs. This code may therefore be deprecated at some point, as it presently adds overhead without providing value.