13 #ifndef _FBXSDK_FILEIO_PROGRESS_H_
14 #define _FBXSDK_FILEIO_PROGRESS_H_
24 #if !defined(FBXSDK_ENV_WINSTORE) && !defined(FBXSDK_ENV_EMSCRIPTEN)
42 void SetTotal(
float pTotal);
47 void SetThreshold(
float pThreshold);
53 void Update(
float pDelta,
const char* pStatus=
NULL);
65 void Complete(
const char* pStatus=
NULL);
74 inline float GetTotal()
const {
return mTotal; }
82 #ifndef DOXYGEN_SHOULD_SKIP_THIS
89 float GetPercent()
const;
90 bool ExecuteCallback()
const;
92 #if !defined(FBXSDK_ENV_WINSTORE) && !defined(FBXSDK_ENV_EMSCRIPTEN)
A spinlock is the fastest and most simple thread lock mechanism available.
FBX SDK environment definition.
float GetThreshold() const
Retrieve the current threshold of this progress.
Utility class to manipulate strings.
bool IsCanceled() const
Query whether user canceled this progress.
float GetTotal() const
Retrieve the current total of this progress.
Class for progress reporting.
bool(* FbxProgressCallback)(void *pArgs, float pPercentage, const char *pStatus)