Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kBool GoSystem_HasChanges | ( | GoSystem | system | ) |

Reports whether the system has changes that require a refresh.

Sensors can undergo autonomous state changes that require client state to be refreshed (e.g. sensor goes offline). The GoSystem_HasChanges function can be used to determine if such changes have occurred.

The GoSystem_HasChanges function does not perform communication, and consequently, will not require the caller to block for a long duration. If changes are detected, the GoSystem_Refresh function can be called to resolve the changes.

This method is thread-safe.

Version
  Introduced in firmware 4.0.10.27

Parameters

  system | GoSystem object.

Returns
  kTRUE if the system has changes.