Dxc::RecoveryData Class Reference

Defines the data structure for system Recovery Info. More...

#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DataTypes/RecoveryData.hpp>

Inheritance diagram for Dxc::RecoveryData:
Dxc::DxcData

List of all members.

Public Member Functions

 RecoveryData (Timestamp timestamp, const FaultSet &fs=FaultSet(), const CommandSet &commands=CommandSet(), double cost=-1, const std::string &notes="")
 Constructor to initialize the RecoveryData with timestamp.
 RecoveryData (const FaultSet &fs=FaultSet(), const CommandSet &commands=CommandSet(), double cost=-1, const std::string &notes="")
 Constructor to initialize the RecoveryData with timestamp.
virtual RecoveryDataclone () const
 Virtual copy constructor.
virtual std::ostream & put (std::ostream &) const
 Prints DxcData in standardized, parseable format.

Detailed Description

Defines the data structure for system Recovery Info.

Recovery information consists of a hypothetical set of fault modes (with estimated parameters), a set of commands that represent a recovery action for the fault modes, and a cost for performing these actions.


Constructor & Destructor Documentation

RecoveryData::RecoveryData ( Timestamp  timestamp,
const FaultSet fs = FaultSet(),
const CommandSet commands = CommandSet(),
double  cost = -1,
const std::string &  notes = "" 
)

Constructor to initialize the RecoveryData with timestamp.

Parameters:
timestamp - message timestamp.
faults - hypothetical fault set
commands - recovery actions
cost - cost of taking the actions
notes - additional information, such as errors.
RecoveryData::RecoveryData ( const FaultSet fs = FaultSet(),
const CommandSet commands = CommandSet(),
double  cost = -1,
const std::string &  notes = "" 
)

Constructor to initialize the RecoveryData with timestamp.

Parameters:
faults - hypothetical fault set
commands - recovery actions
cost - cost of taking the actions
notes - additional information, such as errors.

Member Function Documentation

RecoveryData * RecoveryData::clone (  )  const [virtual]

Virtual copy constructor.

Returns a pointer to a copy of the DxcData. The user is responsible for managing the memory.

Implements Dxc::DxcData.


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

Generated on 22 Feb 2013 for dxcApi by  doxygen 1.6.1