#include <appdynamics.h>
Public Member Functions | |
| Frame (BT &bt, appd_frame_type frame_type, const char *class_name, const char *method_name, const char *file, int line_number) | |
| Frame ()=delete | |
| Frame (const Frame &)=delete | |
| Frame & | operator= (const Frame &)=delete |
| ~Frame () | |
Private Attributes | |
| BT & | m_bt |
| appd_frame_handle | m_frame_handle |
Represents a frame in a call graph that can be reported with a business transaction.
Each business transaction has a stack of active frames. When a Frame object is constructed, it is pushed onto the business transaction's stack. The constructed Frame has as its parent the Frame that was at the top of the stack at the time of its construction. If the stack was empty when the Frame was created, it is the root of the business transaction's call graph and has no parent.
It is recommended to create these objects on the stack (with the RAII pattern) and from a single thread.
|
inline |
| bt | The business transaction object that owns this function call. |
| frame_type | The type of the frame. When used in C or C++ code, use APPD_FRAME_TYPE_CPP. |
| class_name | The name of the class if this method is a member of the class, else NULL. |
| method_name | The name of the method. |
| file | The path of the source file. |
| line_number | The line number in the source file. |
|
delete |
|
delete |
|
inline |
|
private |
|
private |