Base Framework
Public Types | Public Member Functions | List of all members
Profiler::SecurityTask Class Reference

#include <base/Profiler.h>

Inherits Profiler::Task.

Public Types

enum  SecurityLevel {
  PRIVACY, SECURITY, CRITICAL, IMPORTANT,
  NORMAL, LOW
}
 

Public Member Functions

 SecurityTask (const char *name, SecurityLevel securityLevel, bool suppressIOCapturing) noexcept
 
- Public Member Functions inherited from Profiler::Task
 Task (const char *_name, const char *_cat=nullptr) noexcept
 
 ~Task () noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from Profiler::Task
static unsigned int getTask (const char *name, const char *cat) noexcept
 
static void pushTask (unsigned int taskId) noexcept
 
- Protected Member Functions inherited from Profiler::Task
void setTaskPath (const String &path) noexcept
 
void setTaskResourceHandle (const ResourceHandle &handle) noexcept
 
void setTaskSecurityLevel (unsigned int securityLevel) noexcept
 
void setTaskWaitId (const char *id) noexcept
 
void setTaskWaitHandle (const Resource &resource) noexcept
 
void setTaskWaitHandle (const ResourceHandle &handle) noexcept
 
void setTaskBytesRead (const uint8 *buffer, unsigned int bytesRead) noexcept
 
void setTaskBytesWritten (const uint8 *buffer, unsigned int bytesWritten) noexcept
 

Detailed Description

Security task.

Member Enumeration Documentation

◆ SecurityLevel

Potential impact of test. Lower value is worse.

Enumerator
PRIVACY 

Privacy.

SECURITY 

Trust.

CRITICAL 

Corruption.

LOW 

Less important problem.

Constructor & Destructor Documentation

◆ SecurityTask()

Profiler::SecurityTask::SecurityTask ( const char *  name,
SecurityLevel  securityLevel,
bool  suppressIOCapturing 
)
inlinenoexcept

Security task start.