PObjectMonitoring Class Reference

Detailed Description

The PObjectMonitoring class represents a singleton used to monitor Papillon Core.

Definition at line 28 of file PObjectMonitoring.h.

#include <PObjectMonitoring.h>

Constructor & Destructor Documentation

◆ PObjectMonitoring()

PObjectMonitoring::PObjectMonitoring ( )

◆ ~PObjectMonitoring()

PObjectMonitoring::~PObjectMonitoring ( )

Member Function Documentation

◆ CountInstance()

int32 PObjectMonitoring::CountInstance ( classid  classId)

◆ GetClassNameFromClassId()

const char* PObjectMonitoring::GetClassNameFromClassId ( classid  classId)

◆ GetInstance()

static PObjectMonitoring& PObjectMonitoring::GetInstance ( )
static

◆ LogObjectCounters()

void PObjectMonitoring::LogObjectCounters ( int32  topN = -1)

◆ StartMonitoring()

void PObjectMonitoring::StartMonitoring ( const PProperties parameters)

Starts the background monitoring thread.

This feature is only available if the SDK has been compiled with WITH_CORE_OBJECT_MONITORING.

Examples:

// Display monitoring console and update every 10000 ms (10 seconds)
// Display monitoring console and update every 30000 ms (30 seconds)

Possible parameters are:

  • csv=csv filename
  • console=true or false
  • time=refresh period in ms (minimum is 125 ms)

◆ StopMonitoring()

void PObjectMonitoring::StopMonitoring ( )

Friends And Related Function Documentation

◆ PObjectImpl

friend class PObjectImpl
friend

Definition at line 60 of file PObjectMonitoring.h.

Member Data Documentation

◆ m_data

void* PObjectMonitoring::m_data

Definition at line 73 of file PObjectMonitoring.h.