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 (const OUString &sArgs)
 
 TraceEvent (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 140 of file traceevent.hxx.

Constructor & Destructor Documentation

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

Definition at line 147 of file traceevent.hxx.

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

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

Definition at line 207 of file traceevent.hxx.

References args.

comphelper::AsyncEvent::~AsyncEvent ( )
inline

Definition at line 213 of file traceevent.hxx.

Member Function Documentation

void comphelper::AsyncEvent::finish ( )
inline

Definition at line 215 of file traceevent.hxx.

void comphelper::AsyncEvent::generateEnd ( )
inlineprivate

Definition at line 178 of file traceevent.hxx.

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

Member Data Documentation

bool comphelper::AsyncEvent::m_bBeginRecorded
private

Definition at line 145 of file traceevent.hxx.

int comphelper::AsyncEvent::m_nId
private

Definition at line 144 of file traceevent.hxx.

int comphelper::AsyncEvent::s_nIdCounter = 0
staticprivate

Definition at line 143 of file traceevent.hxx.


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