LibreOffice Module comphelper (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
comphelper::AsyncEvent Class Reference

#include <traceevent.hxx>

Inheritance diagram for comphelper::AsyncEvent:
[legend]
Collaboration diagram for comphelper::AsyncEvent:
[legend]

Public Member Functions

 AsyncEvent (const char *sName, const std::map< OUString, OUString > &args=std::map< OUString, OUString >())
 
 ~AsyncEvent ()
 
void finish ()
 

Private Member Functions

 AsyncEvent (const char *sName, int nId, const std::map< OUString, OUString > &args)
 
void generateEnd ()
 

Private Attributes

int m_nId
 
bool m_bBeginRecorded
 

Static Private Attributes

static int s_nIdCounter = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from comphelper::TraceEvent
static void addInstantEvent (const char *sName, const std::map< OUString, OUString > &args=std::map< OUString, OUString >())
 
static void startRecording ()
 
static void stopRecording ()
 
static void setBufferSizeAndCallback (std::size_t bufferSize, void(*bufferFullCallback)())
 
static std::vector< OUString > getEventVectorAndClear ()
 
static css::uno::Sequence< OUString > getRecordingAndClear ()
 
- Protected Member Functions inherited from comphelper::NamedEvent
 NamedEvent (const char *sName, const OUString &sArgs)
 
 NamedEvent (const char *sName, const std::map< OUString, OUString > &aArgs)
 
- Protected Member Functions inherited from comphelper::TraceEvent
 TraceEvent (OUString sArgs)
 
 TraceEvent (const std::map< OUString, OUString > &aArgs)
 
- Static Protected Member Functions inherited from comphelper::TraceEvent
static void addRecording (const OUString &sObject)
 
static long long getNow ()
 
static OUString createArgsString (const std::map< OUString, OUString > &args)
 
- Protected Attributes inherited from comphelper::NamedEvent
const char * m_sName
 
- Protected Attributes inherited from comphelper::TraceEvent
const int m_nPid
 
const OUString m_sArgs
 
- Static Protected Attributes inherited from comphelper::TraceEvent
static std::atomic< bool > s_bRecording = (getenv("TRACE_EVENT_RECORDING") != nullptr)
 

Detailed Description

Definition at line 135 of file traceevent.hxx.

Constructor & Destructor Documentation

◆ AsyncEvent() [1/2]

comphelper::AsyncEvent::AsyncEvent ( const char *  sName,
int  nId,
const std::map< OUString, OUString > &  args 
)
inlineprivate

Definition at line 142 of file traceevent.hxx.

References comphelper::TraceEvent::addRecording(), args, m_sName, nId, and sName.

◆ AsyncEvent() [2/2]

comphelper::AsyncEvent::AsyncEvent ( const char *  sName,
const std::map< OUString, OUString > &  args = std::map<OUString, OUString>() 
)
inline

Definition at line 202 of file traceevent.hxx.

References args, and sName.

◆ ~AsyncEvent()

comphelper::AsyncEvent::~AsyncEvent ( )
inline

Definition at line 208 of file traceevent.hxx.

Member Function Documentation

◆ finish()

void comphelper::AsyncEvent::finish ( )
inline

Definition at line 210 of file traceevent.hxx.

◆ generateEnd()

void comphelper::AsyncEvent::generateEnd ( )
inlineprivate

Definition at line 173 of file traceevent.hxx.

References comphelper::TraceEvent::addRecording(), and m_sName.

Member Data Documentation

◆ m_bBeginRecorded

bool comphelper::AsyncEvent::m_bBeginRecorded
private

Definition at line 140 of file traceevent.hxx.

◆ m_nId

int comphelper::AsyncEvent::m_nId
private

Definition at line 139 of file traceevent.hxx.

◆ s_nIdCounter

int comphelper::AsyncEvent::s_nIdCounter = 0
staticprivate

Definition at line 138 of file traceevent.hxx.


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