Presentation is loading. Please wait.

Presentation is loading. Please wait.

Engine Update time Update World List World List contains all of the objects/signals in the world state Factory Class State Machine Factory Lift Factory.

Similar presentations


Presentation on theme: "Engine Update time Update World List World List contains all of the objects/signals in the world state Factory Class State Machine Factory Lift Factory."— Presentation transcript:

1 Engine Update time Update World List World List contains all of the objects/signals in the world state Factory Class State Machine Factory Lift Factory Lift0 Factory Observer Factory Running Signal Class State Machine Lifted Signal Lift0 Signal Observer Signal Functions Class Integral Hold Accumulate Tag Global Class Global variables Object Update Signal List Perform appropriate tasks

2 Create new Function Object in1 = Integral (parameter) Functions Class Integral Hold Accumulate Functions Defines Transition Function Returns a State Machine Factory Factory Class State Machine Factory Lift Factory Lift0 Factory Observer Factory Factories Tracks Initial Conditions and Starts the Running Signal State Machine Lifted Signal Lift0 Signal Observer Running Class State Machine Lift Signal Lift0 Signal Observer Signals Tracks the state of the signal Updates the state of the signal object based on the ∆t Contains the now() method

3 Engine Update time Update World List Proxy.py (Generic Object) Instance Variables Observers (check for events/changes) Running signals Zombie Boolean to know whether to react Has Methods Do something when observer returns a correct value Does something when timing is appropriate Methods Update(Signals) Update all signals in the signal list with their.Now() methods Reaction(Events) Do something based on the values returned by the updated signal list Init() Initializes the object PiObject.py (Inherits from Proxy) Instance Variables Output(Proxy) Input(Signal) Methods Def _light Returns Output Def _irSensor() Return (input) Dimmable(Proxy) Init (output) *takes a light object Multiplex(Proxy) Init(output)


Download ppt "Engine Update time Update World List World List contains all of the objects/signals in the world state Factory Class State Machine Factory Lift Factory."

Similar presentations


Ads by Google