Download coen-2003-project-27.. - Computer Engineering

Transcript
'unsigned char' p_tmpStr
Body
tmpStr[i1] = p_tmpStr;
startBehavior
Virtual, Generated , Primitive-operation , Public, Return type is OMBoolean
Body
OMBoolean done = FALSE;
done = OMReactive::startBehavior();
if(done)
start();
return done;
systemSetup
Generated , Constructor , Public
~systemSetup
Generated , Destructor , Public
Body
cleanUpRelations();
Attributes:
COMMAND
Type of COMMAND_STRUCTURE, Public
entries
true = wall unit entries in the database
false = no entries
Type of OMBoolean, Public, Initial Value: true
tmpStr
Type of 'unsigned char %s[12]', Public
Statechart
detect>
[entries]
C
[else]
findDevices>
systemGO>
evFIND
ROOT
Or-state
Substates:
detect
findDevices
systemGO