Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

Clock Application



clock
Function show a clock
Distribution clock-bin-.zip
Jar files clock.jar
Modules clock
Namespace http://dassault-aviation.com/clock

Provided services http://dassault-aviation.com/clock:clock
http://dassault-aviation.com/clock:tag

Required services http://dassault-aviation.com/clock:clock
http://dassault-aviation.com/clock:tag

Optional properties period
xPos
yPos
guiPosition

Image clock
The built-in Clock application allows to show a clock, and tag events. The clock has two different behaviors depending on if it provides services or subscribes to services:
  • If it provides the clock and/or tag services: it will show a clock at the specified period, and provide the associated services
  • If it subscribes to the clock and/or tag services: it will show a clock associated to the subscribed services
This application also allows the user to tag events alongside the clock.

Application properties

The application configuration has one following optional property:
  • "period": the period of the clock (default is 1 second)
  • "xPos": the x position of the clock window
  • "yPos": the y position of the clock window
  • "guiPosition": the x and position of the clock window. The format is <x position;>;<y position;. This property is an alternative to setting both "xPos" and "yPos"
Note that if the clock window and the tag window are both visible, the tag window will be presented at the right of the clock window, so the windows will not overlap.

Services

See:

Provided services

Note that you can't have both provided and required services for the clock.

If the module provides the clock and/or tag service: the clock shows the time elapsed with the specified period, and:
  • Sends the clock time value with the clock service
  • Allows the user to tag timed events and sends them with the tag service

Required services

Note that you can't have both provided and required services for the clock.

If the module subscribe to the clock and/or tag service:
  • The clock shows the time retrieved in the clock service, with the period precision
  • Shows the tag timed events retrieved in the tag service

Interface

The clock shows the following window:
clock

Provided tags

If there is provided tag service, there is also the following window:
clocktagout
The user can tag events by clicking on the button.

Subscribed tags

If there is subscribed tag service, there is also the following window:
clocktagin
The tagged events received in the tag service are shown in the window.

Categories: builtin-applis

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence