![]() |
VR-Forces 5.0.2 Developer's Guide
|
This class is used by Terrain Reasoner for generating a JSON query string that documents a specific Terrain Reaoner query, i.e. a call to a DTTerrainReasoner::find* function. The string is returned as an optional Out parameter. It contains the called function name and all received parameter values. Such a JSON query string may be passed as a parameter to the "SRV Run Query String" scripted task of Terrain Reasoner test harness. This enables automatic reproduction of the original query, for testing/debug purposes.
Public Member Functions | |
| DtTerrainReasonerTracer (string functionName) | |
| void | record (string name, const DtLocalVertexList ¶m) |
| void | record (string name, unsigned int param) |
| void | record (string name, double param) |
| void | record (string name, const DtVector ¶m) |
| string | toString () |
Private Attributes | |
| stringstream | mJson |
| DtTerrainReasonerTracer::DtTerrainReasonerTracer | ( | string | functionName | ) |
| void DtTerrainReasonerTracer::record | ( | string | name, |
| const DtLocalVertexList & | param | ||
| ) |
| void DtTerrainReasonerTracer::record | ( | string | name, |
| double | param | ||
| ) |
| void DtTerrainReasonerTracer::record | ( | string | name, |
| const DtVector & | param | ||
| ) |
| string DtTerrainReasonerTracer::toString | ( | ) |
|
private |