Public Member Functions | Static Public Member Functions

VDRIVE::DistRedundantShare Class Reference

#include <DistRedundantShare.h>

Inheritance diagram for VDRIVE::DistRedundantShare:
Inheritance graph
[legend]
Collaboration diagram for VDRIVE::DistRedundantShare:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DistRedundantShare (xercesc::DOMElement *data)
 DistRedundantShare (int argc, char **argv)
 DistRedundantShare (const DistRedundantShare &orig)
virtual ~DistRedundantShare ()
virtual std::list< Disk * > * placeExtent (int64_t virtualVolumeId, int64_t position)
virtual void setConfiguration (std::list< Disk * > *disks, int64_t extentsize, int32_t copies)
virtual void setDisks (std::list< Disk * > *disks)
virtual xercesc::DOMElement * toXML (xercesc::DOMDocument *doc) const
virtual std::list< Disk * > * getDisks () const
virtual int64_t getExtentsize () const
virtual int32_t getCopies () const
RSDisk ** getRSDisks ()
int32_t getNumDisks ()

Static Public Member Functions

static std::string getXMLRootType ()

Detailed Description

Implementation of the RedundantShare algorithm.

Author:
Sascha Effert <fermat@uni-paderborn.de>

Constructor & Destructor Documentation

DistRedundantShare::DistRedundantShare ( xercesc::DOMElement *  data )

Create a new instance from the data in the given XML Element.

Parameters:
dataAn XML-Element containing the description of a DistRedundantShare.
DistRedundantShare::DistRedundantShare ( int  argc,
char **  argv 
)

generate a new, uninitialized Redundant Share Implementation.

DistRedundantShare::DistRedundantShare ( const DistRedundantShare orig )

copy constructor

DistRedundantShare::~DistRedundantShare (  ) [virtual]

Destructor


Member Function Documentation

virtual int32_t VDRIVE::DistRedundantShare::getCopies (  ) const [inline, virtual]
std::list< Disk * > * DistRedundantShare::getDisks (  ) const [virtual]
virtual int64_t VDRIVE::DistRedundantShare::getExtentsize (  ) const [inline, virtual]
int32_t VDRIVE::DistRedundantShare::getNumDisks (  ) [inline]
RSDisk** VDRIVE::DistRedundantShare::getRSDisks (  ) [inline]
static std::string VDRIVE::DistRedundantShare::getXMLRootType (  ) [inline, static]

Get the Root-Type of XML-Elements representing this class.

Returns:
the Root-Type of XML-Elements representing this class.
std::list< Disk * > * DistRedundantShare::placeExtent ( int64_t  virtualVolumeId,
int64_t  position 
) [virtual]
void DistRedundantShare::setConfiguration ( std::list< Disk * > *  disks,
int64_t  extentsize,
int32_t  copies 
) [virtual]
void DistRedundantShare::setDisks ( std::list< Disk * > *  disks ) [virtual]
xercesc::DOMElement * DistRedundantShare::toXML ( xercesc::DOMDocument *  doc ) const [virtual]

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