All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyTracing.h File Reference
#include "pxr/base/tf/pySafePython.h"
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include <functional>
#include <memory>
+ Include dependency graph for pyTracing.h:

Go to the source code of this file.


struct  TfPyTraceInfo


typedef std::function< void(TfPyTraceInfo
const &)> 
typedef std::shared_ptr
< TfPyTraceFn


TF_API TfPyTraceFnId TfPyRegisterTraceFn (TfPyTraceFn const &f)
void Tf_PyFabricateTraceEvent (TfPyTraceInfo const &info)
void Tf_PyTracingPythonInitialized ()

Typedef Documentation

typedef std::function<void (TfPyTraceInfo const &)> TfPyTraceFn

Definition at line 49 of file pyTracing.h.

typedef std::shared_ptr<TfPyTraceFn> TfPyTraceFnId

Definition at line 50 of file pyTracing.h.

Function Documentation

void Tf_PyFabricateTraceEvent ( TfPyTraceInfo const info)
void Tf_PyTracingPythonInitialized ( )
TF_API TfPyTraceFnId TfPyRegisterTraceFn ( TfPyTraceFn const f)

Register f as a python trace function. It will be invoked for python tracing events. If python is not yet initialized, the function will not be invoked until python is initialized.