Ariadne index page

 

Ariadne - Technical description

 

AriadnePubEvents.exe v1.1

Description

AriadnePenEvents forwards penalty events to AriadneMain.

AriadnePenEvents is a singleton COM component that can forward events form one source to more event consumers simultaneaously. With the COM component it is possible to forward events between components of the Ariadne system. As a singleton, the component is instantiated once, when more components create it. That is how they can share events. The COM component is build in Microsoft ATL . For this COM component to register and to run you first need install the C++ Redistributable package vcredist_x86.exe from Microsoft. Register the COM component with AriadnePenEvents.exe /RegServer, unregister the COM component with AriadnePenEvents.exe /unRegServer

Methods to raise events

method argument description
RaiseTerminalServerEvent   called by AriadneMain to distribute an event to the judge terminals.
  string RaceNumber number of the race. Will be displayed on the judge terminals
  int Series number of the series in the race. Normally 1 or 2
  int BibNumber number of the start bib for which the event is relevant
  int EventType 0 - Sends a message to the terminals
1 - Start event for the bib number
2- Capsize event for the bib number
10 - Race complete event. This blocks further entry of penalty points on the terminals for that race.

Events to be consumed

event argument description
TerminalServerEvent   Listened to by Ariadne webserver, to forward the events to the judge terminals
  string RaceNumber number of the race. Will be displayed on the judge terminals
  int Series number of the series in the race. Normally 1 or 2
  int BibNumber number of the start bib for which the event is relevant
  int EventType 0 - Sends a message to the terminals
1 - Start event for the bib number
2- Capsize event for the bib number
10 - Race complete event. This blocks further entry of penalty points on the terminals for that race.

 


Change history

date Ariadne version change
Jan2009 4.8.0 v1.0 - Diverse event forwarders separated out from EventDispatcher and Startpostdriver