GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SC_BCASTSTATEINBIN (3)

NAME

sc::BcastStateInBin - BcastStateBin reads a file in written by StateInBin on node 0 and broadcasts it to all nodes so state can be simultaneously restored on all nodes.

CONTENTS

Synopsis

SYNOPSIS

#include <mstate.h>

Inherits sc::MsgStateBufRecv.

    Public Member Functions

    BcastStateInBin (const Ref< KeyVal > &)
Create the BcastStateRecv using the default MessageGrp.     BcastStateInBin (const Ref< MessageGrp > &, const char *filename)
Create the BcastStateRecv.     virtual int open (const char *name)    
virtual void close ()    
void seek (int loc)
Set the current position in the file.     int seekable ()
Return non-zero if seek does anything sensible.     int tell ()
Return the current position in the file.     int use_directory ()
Returns true of this object uses a directory.

    Protected Member Functions

    void next_buffer ()
Specializations must implement next_buffer().     int get_array_void (void *, int)

    Protected Attributes

    int opened_    
int file_position_    
std::streambuf * buf_

Detailed Description

BcastStateBin reads a file in written by StateInBin on node 0 and broadcasts it to all nodes so state can be simultaneously restored on all nodes.

Member Function Documentation

void sc::BcastStateInBin::seek (int) [virtual]

Set the current position in the file. The default implementation does nothing.

Reimplemented from sc::StateIn.

int sc::BcastStateInBin::seekable () [virtual]

Return non-zero if seek does anything sensible. The default implementation returns 0.

Reimplemented from sc::StateIn.

Author

Generated automatically by Doxygen for MPQC from the source code.

Search for    or go to Top of page |  Section 3 |  Main Index


Version 2.3.1 SC::BCASTSTATEINBIN (3) Sun Apr 3 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.