wmx.case_studies.TrafficLight
Class Light

java.lang.Object
  extended by wmx.WMX_component
      extended by wmx.case_studies.TrafficLight.Light
All Implemented Interfaces:
com.FranckBarbier.Java._PauWare._Velcro.Velcro, com.FranckBarbier.Java._PauWare._Velcro.VelcroExecutor, com.FranckBarbier.Java._PauWare.Manager

public class Light
extends WMX_component

Author:
Fabien Romeo - fabien.romeo@univ-pau.fr

Field Summary
protected  com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor _Light
           
protected  com.FranckBarbier.Java._PauWare.AbstractStatechart _Off
           
protected  com.FranckBarbier.Java._PauWare.AbstractStatechart _On
          UML statechart
 
Constructor Summary
Light()
          Creates a new instance of Light
 
Method Summary
 java.lang.Object execute(java.lang.String action, java.lang.Object[] args)
           
protected  void init_behavior()
           
protected  void init_structure()
           
 void start()
           
 void turnOff()
           
 void turnOn()
          UML events
 
Methods inherited from class wmx.WMX_component
addWirelessPort, initialize, registerState, run_to_completion, start_management, stateID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_On

protected com.FranckBarbier.Java._PauWare.AbstractStatechart _On
UML statechart


_Off

protected com.FranckBarbier.Java._PauWare.AbstractStatechart _Off

_Light

protected com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor _Light
Constructor Detail

Light

public Light()
      throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
Creates a new instance of Light

Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
Method Detail

init_structure

protected void init_structure()
                       throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception

init_behavior

protected void init_behavior()
                      throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception

start

public void start()
           throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception

execute

public java.lang.Object execute(java.lang.String action,
                                java.lang.Object[] args)
                         throws java.lang.Throwable
Throws:
java.lang.Throwable

turnOn

public void turnOn()
            throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
UML events

Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception

turnOff

public void turnOff()
             throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception