iobservable_iobserver

September 14, 2025 ยท View on GitHub

Shows how to use xtd::iobservable and xtd::iobserver interfaces.

Sources

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

Fixed GPS: The current location is 47.6456, -122.1312
Mobile GPS: The current location is 47.6456, -122.1312
Mobile GPS: The current location is 47.6677, -122.1199
Mobile GPS: The location cannot be determined.
The location Tracker has completed transmitting data to Mobile GPS.