3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/FlushingIOController.h"
7#include "mc/scripting/diagnostics/IDebuggerStatPublisher.h"
12namespace Core {
class Path; }
13namespace Core {
class Result; }
36 StreamFlusher& operator=(StreamFlusher
const&);
37 StreamFlusher(StreamFlusher
const&);
43 virtual ~StreamFlusher() =
default;
45 virtual ::Core::Result _flushBuffer(
void const* data, uint64 amount) ;
71 DebuggerDiagnosticsPublishToFile& operator=(DebuggerDiagnosticsPublishToFile
const&);
72 DebuggerDiagnosticsPublishToFile(DebuggerDiagnosticsPublishToFile
const&);
73 DebuggerDiagnosticsPublishToFile();
78 virtual ~DebuggerDiagnosticsPublishToFile() =
default;
80 virtual bool isStatPublisherEnabled() const ;
82 virtual
void publishStats(uint64 collectedTick, ::
std::vector<::
DebuggerStat> const& stats) ;
88 MCNAPI DebuggerDiagnosticsPublishToFile(
89 ::cereal::ReflectionCtx&
ctx,
91 ::
std::optional<uint> maxCaptureFiles,
92 ::
std::optional<uint> maxCaptureFileSize
110 ::cereal::ReflectionCtx&
ctx,
112 ::
std::optional<uint> maxCaptureFiles,
113 ::
std::optional<uint> maxCaptureFileSize
Definition FlushingIOController.h:20
Definition DebuggerDiagnosticsPublishToFile.h:25
MCAPI::Core::Result $_flushBuffer(void const *data, uint64 amount)
MCAPI bool _createNewCapture(::Core::Path capturePath)
MCAPI bool startCapture()
MCAPI void $publishStats(uint64 collectedTick, ::std::vector<::DebuggerStat > const &stats)
MCAPI::Core::Path _getCapturePath(int captureIndex) const
MCAPI bool _initBasePath()
MCAPI bool $isStatPublisherEnabled() const
MCAPI void * $ctor(::cereal::ReflectionCtx &ctx, bool autoStart, ::std::optional< uint > maxCaptureFiles, ::std::optional< uint > maxCaptureFileSize)
static MCAPI void ** $vftable()
MCAPI ::std::optional<::Core::Path > stopCapture()
Definition DebuggerStat.h:10
Definition IDebuggerStatPublisher.h:10
Definition ReflectionCtx.h:11