LoggingStrategy Class Reference

A brief description. More...

#include <ArmarXCore/core/services/profiler/LoggingStrategy.h>

+ Inheritance diagram for LoggingStrategy:

Public Member Functions

virtual void logEvent (pid_t processId, uint64_t timestamp, const std::string &executableName, const std::string &timestampUnit, const std::string &eventName, const std::string &parentName, const std::string &functionName)
 
 LoggingStrategy ()
 
virtual void logProcessCpuUsage (pid_t processId, uint64_t timestamp, float cpuUsage)
 
virtual void logProcessMemoryUsage (pid_t processId, uint64_t timestamp, int memoryUsage)
 
virtual void logStatechartInputParameters (pid_t processId, uint64_t timestamp, const std::string &stateIdentifier, const armarx::StateParameterMap &inputParameterMap)
 
virtual void logStatechartLocalParameters (pid_t processId, uint64_t timestamp, const std::string &stateIdentifier, const armarx::StateParameterMap &localParameterMap)
 
virtual void logStatechartOutputParameters (pid_t processId, uint64_t timestamp, const std::string &stateIdentifier, const armarx::StateParameterMap &outputParameterMap)
 
virtual void logStatechartTransition (const ProfilerStatechartTransition &transition)
 
virtual void logStatechartTransitionWithParameters (pid_t processId, uint64_t timestamp, const TransitionIceBase &transition)
 
void setId (const std::string &id)
 
virtual ~LoggingStrategy ()
 

Protected Attributes

std::string id
 

Detailed Description

A brief description.

Detailed Description

Definition at line 50 of file LoggingStrategy.h.

Constructor & Destructor Documentation

◆ LoggingStrategy()

LoggingStrategy ( )
inline

Definition at line 53 of file LoggingStrategy.h.

◆ ~LoggingStrategy()

virtual ~LoggingStrategy ( )
inlinevirtual

Definition at line 58 of file LoggingStrategy.h.

Member Function Documentation

◆ logEvent()

virtual void logEvent ( pid_t  processId,
uint64_t  timestamp,
const std::string &  executableName,
const std::string &  timestampUnit,
const std::string &  eventName,
const std::string &  parentName,
const std::string &  functionName 
)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, IceLoggingStrategy, and FileLoggingStrategy.

Definition at line 67 of file LoggingStrategy.h.

◆ logProcessCpuUsage()

virtual void logProcessCpuUsage ( pid_t  processId,
uint64_t  timestamp,
float  cpuUsage 
)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, and IceLoggingStrategy.

Definition at line 99 of file LoggingStrategy.h.

◆ logProcessMemoryUsage()

virtual void logProcessMemoryUsage ( pid_t  processId,
uint64_t  timestamp,
int  memoryUsage 
)
inlinevirtual

Definition at line 104 of file LoggingStrategy.h.

◆ logStatechartInputParameters()

virtual void logStatechartInputParameters ( pid_t  processId,
uint64_t  timestamp,
const std::string &  stateIdentifier,
const armarx::StateParameterMap &  inputParameterMap 
)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, and IceLoggingStrategy.

Definition at line 77 of file LoggingStrategy.h.

◆ logStatechartLocalParameters()

virtual void logStatechartLocalParameters ( pid_t  processId,
uint64_t  timestamp,
const std::string &  stateIdentifier,
const armarx::StateParameterMap &  localParameterMap 
)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, and IceLoggingStrategy.

Definition at line 82 of file LoggingStrategy.h.

◆ logStatechartOutputParameters()

virtual void logStatechartOutputParameters ( pid_t  processId,
uint64_t  timestamp,
const std::string &  stateIdentifier,
const armarx::StateParameterMap &  outputParameterMap 
)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, and IceLoggingStrategy.

Definition at line 87 of file LoggingStrategy.h.

◆ logStatechartTransition()

virtual void logStatechartTransition ( const ProfilerStatechartTransition &  transition)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, and IceLoggingStrategy.

Definition at line 72 of file LoggingStrategy.h.

◆ logStatechartTransitionWithParameters()

virtual void logStatechartTransitionWithParameters ( pid_t  processId,
uint64_t  timestamp,
const TransitionIceBase &  transition 
)
inlinevirtual

Reimplemented in IceBufferedLoggingStrategy, and IceLoggingStrategy.

Definition at line 92 of file LoggingStrategy.h.

◆ setId()

void setId ( const std::string &  id)
inline

Definition at line 62 of file LoggingStrategy.h.

Member Data Documentation

◆ id

std::string id
protected

Definition at line 110 of file LoggingStrategy.h.


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