sc::BcastState(3)
π sc::BcastState(3) π
πΈ NAME πΈ
Okay bestie, this is the MPQC manual page for sc::BcastState. It creates and forwards/retrieves data from either a BcastStateRecv or a BcastStateSend depending on the value of the argument to constructor. That's the whole assignment. π
β¨ SYNOPSIS β¨
#include <mstate.h>
π Public Member Functions π
BcastState (const Ref< MessageGrp > &, int source=0)β Create aBcastStateobject. The default source is node0. π«Άvoid bcast (int &)β Broadcast data to all nodes.void bcast (double &)β anotherbcastoverload; the manpage gives no separate description here.void bcast (int *&, int)β anotherbcastoverload; no separate description here.void bcast (double *&, int)β anotherbcastoverload; no separate description here.template<class T > void bcast (Ref< T > &a)β the templatebcastoverload; no separate description here.void flush ()β Force data to be written.void forget_references ()β Call theStateOutorStateInforget_referencesmember.void set_buffer_size (int)β Controls the amount of data that is buffered before it is sent.
π Detailed Description π
This creates and forwards/retrieves data from either a BcastStateRecv or a BcastStateSend depending on the value of the argument to constructor. Literally that's the entire detailed description, and we respect it. β¨
π₯ Member Function Documentation π₯
π void sc::BcastState::bcast (int &) π
Broadcast data to all nodes. After these are called for a group of data, the flush member must be called to force the source node to actually write the data. Periodt. π
π¦ void sc::BcastState::flush () π¦
Force data to be written. Data is not otherwise written until the buffer is full. No cap. π
π Author π
Generated automatically by Doxygen for MPQC from the source code.
Source/version: MPQC 2.3.1 Β· date: Sun Oct 4 2020. Bye bestie, go slay those broadcasts! π
β¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms