Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_APSS::APSSShareCallback Class Reference

This class provides a hook into StateInfo using a standard interface. More...

#include <APSSShareCallback.h>

Inheritance diagram for CODEX_APSS::APSSShareCallback:

Inheritance graph
[legend]
Collaboration diagram for CODEX_APSS::APSSShareCallback:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ShareType ShareType
 Export the type of the sharing.
typedef OneWay OneWay
 Export the type of the one-way function.
typedef CODEX_VSS::LabeledShare<
ShareType, OneWay
LSType
 Shorthand for the type of a labeled sharing.
typedef CODEX_VSS::ShareLabel<
ShareType, OneWay
LabelType
 Shorthand for the type of a share label.

Public Member Functions

 APSSShareCallback (unsigned int num)
 Constructor.
virtual ~APSSShareCallback ()
 Virtual destructor.
const LSTypeoperator() (const LabelType &label, unsigned int server) const
 Get the sharing for a specified label.

Detailed Description

This class provides a hook into StateInfo using a standard interface.

Definition at line 30 of file APSSShareCallback.h.


Member Function Documentation

const APSSShareCallback::LSType & APSSShareCallback::operator() const LabelType label,
unsigned int  server
const [virtual]
 

Get the sharing for a specified label.

This method should be implemented by a derived class.

Parameters:
label The label of the sharing to retrieve.
server The requesting server.
Returns:
The corresponding labeled sharing.

Implements CODEX_Server::ShareCallbackBase< ShareType, OneWay >.

Definition at line 24 of file APSSShareCallback.cc.

References CODEX_APSS::StateInfo::instance(), and CODEX_APSS::StateInfo::sharing().


The documentation for this class was generated from the following files:
Generated on Fri May 6 17:41:32 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1