FileLoggingStrategy Class Reference

A brief description. More...

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

+ Inheritance diagram for FileLoggingStrategy:

Public Member Functions

 FileLoggingStrategy ()
 
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) override
 
 ~FileLoggingStrategy () override
 
- Public Member Functions inherited from LoggingStrategy
 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from LoggingStrategy
std::string id
 

Detailed Description

A brief description.

Detailed Description

Definition at line 45 of file FileLoggingStrategy.h.

Constructor & Destructor Documentation

◆ FileLoggingStrategy()

Definition at line 78 of file FileLoggingStrategy.cpp.

◆ ~FileLoggingStrategy()

~FileLoggingStrategy ( )
override

Definition at line 82 of file FileLoggingStrategy.cpp.

Member Function Documentation

◆ logEvent()

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 
)
overridevirtual

Reimplemented from LoggingStrategy.

Definition at line 35 of file FileLoggingStrategy.cpp.


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