homepage › Forums › BridgePoint/xtUML Usage and Training › Message Exchange Between Xtuml Components with Operations › Reply To: Message Exchange Between Xtuml Components with Operations
Here is OAL from the inbound signal on the GPS Watch example (which you can get from the Help->Welcome->Quick Start->Example Application – GPS Watch.
// If necessary, create a workout session and everything required to
// support it. Then, forward this signal to the workout timer.
WorkoutSession::create();
// Forward this signal, as an event, to the singleton instance of WorkoutTimer.
select any workoutTimer from instances of WorkoutTimer;
generate WorkoutTimer1:startStopPressed() to workoutTimer;
To get to this signal body, I navigated GPS Watch -> Library -> Tracking -> UI -> UI -> StartStopPressed.
Here is action language from an interface operation body:
// If necessary, create a workout session and everything required to
// support it. Then, forward this signal to the workout timer.
WorkoutSession::create();
// Forward this signal, as an event, to the singleton instance of WorkoutTimer.
select any workoutTimer from instances of WorkoutTimer;
generate WorkoutTimer1:startStopPressed() to workoutTimer;
To navigate to this I went: GPS Watch -> Library -> Location -> LOC -> GetLocation
Note that you can set breakpoints and see your instance population in the “Session Explorer” view of xtUML Debugging.