#include <vsgcapture.h>
VsgDbg::VsgDbg |
( |
bool |
bDefaultInit | ) |
|
|
inline |
35 #ifndef DONT_SAVE_VSGLOG_TO_TEMP
37 #if WINAPI_FAMILY == 2
38 Init([=] (
int len,
wchar_t * pszBuffer) {
40 const wchar_t * tempPath = Platform::String::Concat(Platform::String::Concat(Windows::Storage::ApplicationData::Current->TemporaryFolder->Path, L
"\\"),
VSG_DEFAULT_RUN_FILENAME)->Data();
41 wcscpy_s(pszBuffer, len, tempPath);
44 Init([=] (
int len,
wchar_t * pszBuffer) {
46 wchar_t tempDir[MAX_PATH];
47 wchar_t filePath[MAX_PATH];
49 if(GetTempPath(MAX_PATH, tempDir) == 0)
56 wcscpy_s(pszBuffer, len, filePath);
61 Init([=] (
int len,
wchar_t * pszBuffer) {
void Init(std::function< void(int len, wchar_t *pszBuffer)> vsgLogGetter)
Definition: vsgcapture.h:73
#define VSG_DEFAULT_RUN_FILENAME
Definition: vsgcapture.h:14
void UnInit()
Definition: vsgcapture.h:79
void __stdcall VsgDbgAddHUDMessage(_In_z_ wchar_t const *szMessage)
void VsgDbg::BeginCapture |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgBeginCapture()
void VsgDbg::CaptureCurrentFrame |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgCaptureCurrentFrame()
void __stdcall VsgDbgCopy(_In_z_ wchar_t const *szNewVSGLog)
void VsgDbg::EndCapture |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgEndCapture()
void VsgDbg::Init |
( |
std::function< void(int len, wchar_t *pszBuffer)> |
vsgLogGetter | ) |
|
|
inline |
void __stdcall VsgDbgInitDelayed(std::function< void(int len, wchar_t *pszBuffer)>)
void VsgDbg::ToggleHUD |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgToggleHUD()
void __stdcall VsgDbgUnInit()
The documentation for this class was generated from the following file: