VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
VICI::cdi::CallTrace Class Reference

Class to create a call trace. More...

#include <vici/trace.h>

Public Member Functions

 CallTrace (int level, csr methodName, csr file)
 Constructor. More...
 
 ~CallTrace ()
 Destructor.
 

Detailed Description

Class to create a call trace.

This CallTrace class is used to produce a call graph. Use the macro FN_TRACE to create an object of this class on the stack at the beginning of each method. The destructor will be automatically called when the method ends.

Constructor & Destructor Documentation

CallTrace::CallTrace ( int  level,
csr  methodName,
csr  file 
)

Constructor.

This should be used via the FN_TRACE(level,method) macro.

Parameters
levelused to determine if tracing output should be generated.
methodNamename of the function to report
filename of the source file

The documentation for this class was generated from the following files: