# Emergency

class Emergency

  The Emergency class is a concept class for Emergency codes.

  Public Types

  enum class Code : uint32_t

    This describe the types of conditions that can trigger an EmergencyHandler.

    Values:

    enumerator Unknown

      Emergencies type unknown.

    enumerator Fatal

      Fatal fault has occurred. Saving the Database is not possible and the EmergencyHandler must abort. After a fatal error, no Visualize functions may be called - to do so will result in a crash or deadlock.

    enumerator SoftMemoryLimit

      Soft memory limit breached. This limit is considered to be breached when Visualize has allocated the amount of memory specified by a previous call to HPS::Database::SetSoftMemoryLimit.

    enumerator HardMemoryLimit

      Hard memory limit breached. This limit is considered to be breached when an operating system memory allocation has failed, and indicates that Visualize is not able to allocate memory required for proceeding with normal operation.

Hello I'm HOOPSY!

HOOPSY BETA

Hello I am HOOPSY! your Docs generative AI assistant.

Ask me anything about HOOPS Visualize HPS or choose a sample question below to start a conversation:

Additional info

HOOPSY may store chats to provide and maintain the service according to OpenAI's data policy.

This feature is currently experimental. While we are continually enhancing its performance and quality, the underlying AI model may generate inaccurate or fabricated responses, especially if prompted to do so.

New Conversation
Continue generating