nn::nex::FaultRecoveryOperation Class

Syntax

class FaultRecoveryOperation : public nn::nex::DOOperation

Description

This DOOperation executes each time some fault occurs on a station.

When a Station fails, FaultRecoveryOperation executes on every duplicated object that has a duplication master on the failed station.

The calling sequence is as follows:

SafetyExecutive is called to determine whether it is safe to execute this operation. If it is safe to run, objects are rescued from the failed station. If not, the process ends here.
・The DuplicatedObject::OperationBegin function is called.
DuplicatedObject::ApproveFaultRecovery function is called.
・If the called DuplicatedObject::ApproveFaultRecovery function returns true, the session master conducts the following procedure to obtain control authority over the duplicated object.
ChangeMasterStationOperation executes.
・The DuplicatedObject::OperationEnd function is called.
・If DuplicatedObject::ApproveFaultRecovery function returns false, the duplicated object is removed from the duplicated object store by the following process:
RemoveFromStoreOperation is triggered.
DuplicatedObject::OperationEnd is called.
・The destructor for the duplicated object is called.

Enumerated Types

Type Enumerated type representing the types of operations called by the system. (Inherits Operation.)

Member Functions

GetAssociatedDOHandle Gets the duplicated object handle associated with this operation. (Inherits DOOperation.)
GetOrigin Gets a duplicated object handle to a station that has called a function that generates an operation object as a result of the call. (Inherits DOOperation.)
GetAssociatedDO Gets a pointer to the duplicated object associated with the operation. (Inherits DOOperation.)
PV GetType Returns the type of this operation object.
GetUserData Gets user-defined values. (Inherits Operation.)
SetUserData Sets user-defined values. (Inherits Operation.)
PV GetClassNameString Gets the class name of this operation object.
S DynamicCast Casts dynamically using runtime information. (Inherits Operation.)
S SetTraceFilter Sets the callback function that specifies when to run traces on operation objects. (Inherits Operation.)

Class Hierarchy

nn::nex::RootObject
  nn::nex::Operation
    nn::nex::DOOperation
      nn::nex::FaultRecoveryOperation

Revision History

2011/01/28
Initial version.

CONFIDENTIAL