The GeoServer

The GeoServer provides support for client applications seeking to track the geographic location of large numbers of users (don’t worry, it’s not for sale to your government, and I’ll divulge your location only with your permission). Clients will typically be map-centric phone applications. We’ll concentrate only on building parts of the server, so use your imagination as to what the client might look like.

A client registers with the server to begin tracking the location of its user. The client transmits location updates to the server from time to time.

Here’s the current code for the GeoServer (including the header file for the Location class):

c9/1/GeoServerTest.cpp
 
#include "CppUTest/TestHarness.h"
 
#include "CppUTestExtensions.h" ...

Get Modern C++ Programming with Test-Driven Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.