All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
callContext.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/arch/functionLite.h"
#include <stddef.h>
+ Include dependency graph for callContext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  TfCallContext



Detailed Description

Functions for recording call locations.

Many macros want to record the location in which they are invoked. In fact, this is the most useful feature that function-like macros have over regular functions. This code provides a standard way to collect and pass that contextual information around. There are two parts. First is a small structure which holds the contextual information. Next is a macro which will produce a temporary structure containing the local contextual information. The intended usage is in a macro.

Definition in file callContext.h.

Macro Definition Documentation


Definition at line 47 of file callContext.h.