Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
doc:logging:tutorials-cpp [2014/09/19 15:13] – Added info on registering custom OWL namespaces winklerdoc:logging:tutorials-cpp [2014/09/19 15:15] – [Non-Default Contexts] winkler
Line 162: Line 162:
 The same accounts for the ''end'' call: The same accounts for the ''end'' call:
 <code pseudo> <code pseudo>
-void Context::end(context-name, optional success-flag, optional end-timestamp)+void Context::end(optional success-flag, optional end-timestamp)
 </code> </code>
 The success flag is by default set to ''true''. For the ''endTime'' timestamp, the same rules apply as for the ''startTime'' timestamp. The success flag is by default set to ''true''. For the ''endTime'' timestamp, the same rules apply as for the ''startTime'' timestamp.
Line 188: Line 188:
 <code cpp> <code cpp>
 Context* ctxContext = ctxMain->startContext("Task-Ctx-1", "&knowrob;", "CustomClass", 0); Context* ctxContext = ctxMain->startContext("Task-Ctx-1", "&knowrob;", "CustomClass", 0);
-ctxContext->endContext(true, 10)+ctxContext->end(true, 10)
 </code> </code>