Research Article
Models and Frameworks: A Synergistic Association for Developing Component-Based Applications
Algorithm 6
Skeleton of the FraCC implementation of the example shown in Figure
5 (excerpt of the implementation of the
Control_Vehicle_Activity in FraCC).
(1) void Control_Vehicle_Activity::init() | (2) void Control_Vehicle_Activity::onEntry() | (3) void Control_Vehicle_Activity::doCode() { | (4) AppMsgs::server_error serverError; | (5) AppMsgs::reply_arrive replyArrive; | (6) if (replyArrive.error = true ) { | (7) push_server_error (serverError); | (8) } | (9) } | (10) void Control_Vehicle_Activity::onExit() |
|