On 22/06/2016 13:47, Black Michael wrote:
UDPExamples\ClientWidget.cpp

Hi Mike,

that class is a component of the message_aggregator reference example. It is stand alone insofar as it is a Qt QDockWidget that collaborates with the MessageServer class which deals with UDP communications with WSJT-X but it is not really designed to be used elsewhere.

If you want to reuse it then it will be a component of an application that looks something like message_aggregator and it requires two Qt data models with similar columns as the DecodesModel and BeaconsModel classes. You could have a stripped down version of it, for example if you were only interested in QSO decodes or WSPR beacon decodes alone.

The message_aggregator reference application consists of the classes MessageAggregatorMainWindow, DecodesMode, BeaconsModel, ClientWidget and the main program MessageAggregator.cpp. They are fairly tightly coupled to form a GUI application. Using one class in isolation doesn't make sense, if you want to write a WSJT-X UDP messaging application then you are probably better looking at the whole message_aggregator application. It is a reference implementation example rather than code that is designed to be used in other applications.

I am in the process changing the build to produce a small libray (libwsjtx_udp) that can be used by applications that wish to intercommunicate with WSJT-X via the UDP messages. It uses and exposes Qt classes so is only suitable for Qt applications. The intent is to save authors of cooperating applications from having to deal with the low level details of the UDP protocol, it provides Qt signals and slots mapped to the messages and handles all the UDP plumbing under the covers. This library is designed to be used by other applications as is i.e. we will ship it in binary form as a development library. The header files MessageServer.hpp and Radio.hpp will be the public API of this library.

73
Bill
G4WJS.

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to