CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdTraceRuntime.h File Reference
#include "TD_PackPush.h"
#include "RxDefs.h"
#include "DbDatabase.h"
#include "TraceStorage/DbTraceStore.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

struct  OdTraceCollaborator
 
class  OdTraceRuntime
 

Typedefs

typedef OdDbDate(* OdTraceDateFunc) ()
 

Functions

OdTraceDateFunc OD_DLL_EXPORT odSetTraceDateFunc (OdTraceDateFunc traceDateFunc)
 

Typedef Documentation

◆ OdTraceDateFunc

typedef OdDbDate(* OdTraceDateFunc) ()

Definition at line 35 of file OdTraceRuntime.h.

Function Documentation

◆ odSetTraceDateFunc()

OdTraceDateFunc OD_DLL_EXPORT odSetTraceDateFunc ( OdTraceDateFunc traceDateFunc)

This function is used to define a custom implementation of getting the current time. Corresponding C++ library: AcTrace

Parameters
traceDateFunc[in] Pointer to a function that returns the current date and time.
Returns
Previous registered function. Null if there is no function registered.