CStatusReport#include "CStatusReport.h"
CStatusReport encapsulates the StatusReport structure defined in
laygodef.h. It is a "read only" class.
If successful, the CProtocolService method GetStatus() returns a pointer to a
newly allocated CStatusReport. The application is responsible
for deleting the report when it is done with it.
CStatusReport * report = service.GetStatus();
if (report != 0)
{
DisplayStatusReport(report);
delete report;
}
else
{
cerr << "Failure requesting status report: "
<< service.GetLastErrorMessage()
<< endl;
}