Public Member Functions | Protected Slots | List of all members
pqCrashRecoveryBehavior Class Reference

pqCrashRecoveryBehavior manages saving/loading of crash recovery state. More...

#include <pqCrashRecoveryBehavior.h>

Inherits QObject.

Public Member Functions

 pqCrashRecoveryBehavior (QObject *parent=nullptr)
 
 ~pqCrashRecoveryBehavior () override
 

Protected Slots

void delayedSaveRecoveryState ()
 
void saveRecoveryState ()
 
void onServerAdded (pqServer *server)
 
void onServerDisconnect ()
 

Detailed Description

pqCrashRecoveryBehavior manages saving/loading of crash recovery state.

If you want your application to be able to recover from crashes, simply instantiate this behavior and ensure that state saving/loading works correctly.

Definition at line 20 of file pqCrashRecoveryBehavior.h.

Constructor & Destructor Documentation

◆ pqCrashRecoveryBehavior()

pqCrashRecoveryBehavior::pqCrashRecoveryBehavior ( QObject *  parent = nullptr)

◆ ~pqCrashRecoveryBehavior()

pqCrashRecoveryBehavior::~pqCrashRecoveryBehavior ( )
override

Member Function Documentation

◆ delayedSaveRecoveryState

void pqCrashRecoveryBehavior::delayedSaveRecoveryState ( )
protectedslot

◆ saveRecoveryState

void pqCrashRecoveryBehavior::saveRecoveryState ( )
protectedslot

◆ onServerAdded

void pqCrashRecoveryBehavior::onServerAdded ( pqServer server)
protectedslot

◆ onServerDisconnect

void pqCrashRecoveryBehavior::onServerDisconnect ( )
protectedslot

The documentation for this class was generated from the following file: