DOKK / manpages / debian 11 / libsc-doc / sc_BcastStateInBin.3.en
sc::BcastStateInBin(3) MPQC sc::BcastStateInBin(3)

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.

#include <mstate.h>

Inherits sc::MsgStateBufRecv.


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.


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


int opened_
int file_position_
std::streambuf * buf_

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.

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

Reimplemented from sc::StateIn.

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

Reimplemented from sc::StateIn.

Generated automatically by Doxygen for MPQC from the source code.

Sun Oct 4 2020 Version 2.3.1