inputnode(lymb) LYMB inputnode(lymb)
NAME
inputnode
SUPERCLASS
object
DESCRIPTION
The inputnode implements a single state in a finite state
machine (fsm) and accepts events pertinent to that state.
Inputnode objects are created behind-the-scenes by inputcontroller objects. They are rarely manipulated from LYMB
scripts.
INSTANCE VARIABLES
controller
is the name of an inputcontroller object that controls the fsm.
state_name
is a string that names the state the inputnode
object implements.
MESSAGES
print_state_table!
prints the state table associated with the inputnode object.
event: event
is an internal message that can only be sent by an
inputcontroller object. The argument is an event
pointer (not an event name).
transition:
(event, next, action)
defines a state transition for the inputnode. An
event name, the next state, and a transition action
are given as arguments.
controller=
string
names the inputcontroller object for the inputnode.
state_name= string
names the inputnode's state.
EXAMPLE
See the inputcontroller and xeventcontroller source code.
SEE ALSO
inputcontroller, xeventcontroller, event
Please send comments and suggestions toconsult@rpi.edu