Stay organized with collections
Save and categorize content based on your preferences.
memory_advice::StateWatcher
Summary
Public functions
Callback
const MemoryAdvice_WatcherCallback Callback() const
StateWatcher
StateWatcher(
MemoryAdviceImpl *impl,
MemoryAdvice_WatcherCallback callback,
void *user_data,
uint64_t interval
)
ThreadRunning
bool ThreadRunning() const
~StateWatcher
virtual ~StateWatcher()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-03-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-03-15 UTC."],[],[],null,["# memory_advice::StateWatcher Class Reference\n\nmemory_advice::StateWatcher\n===========================\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [StateWatcher](#classmemory__advice_1_1_state_watcher_1aaae6e29fe9348b56d987de32fb30d878)`(`[MemoryAdviceImpl](/reference/games/memory-adviceclassmemory/advice-1-1-memory-advice-impl#classmemory__advice_1_1_memory_advice_impl)` *impl, MemoryAdvice_WatcherCallback callback, void *user_data, uint64_t interval)` ||\n| [~StateWatcher](#classmemory__advice_1_1_state_watcher_1aee00a260886db1c8fbdbf88ae10a846b)`()` ||\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [Callback](#classmemory__advice_1_1_state_watcher_1a7a15740a9539a3aa0b5c6a7aa737b313)`() const ` | `const MemoryAdvice_WatcherCallback` |\n| [Cancel](#classmemory__advice_1_1_state_watcher_1a2d1cbd4798fab77ec3721d645cdbfda7)`()` | `void` |\n| [ThreadRunning](#classmemory__advice_1_1_state_watcher_1a6e46663ea0439808b771df0c93d384b4)`() const ` | `bool` |\n\nPublic functions\n----------------\n\n### Callback\n\n```gdscript\nconst MemoryAdvice_WatcherCallback Callback() const \n``` \n\n### Cancel\n\n```text\nvoid Cancel()\n``` \n\n### StateWatcher\n\n```carbon\n StateWatcher(\n MemoryAdviceImpl *impl,\n MemoryAdvice_WatcherCallback callback,\n void *user_data,\n uint64_t interval\n)\n``` \n\n### ThreadRunning\n\n```gdscript\nbool ThreadRunning() const \n``` \n\n### \\~StateWatcher\n\n```text\nvirtual ~StateWatcher()\n```"]]