sc::BcastState(3)

πŸ“¦
version 2.3.1 Β· 4 versions
, in ubuntu jammy

πŸ’– 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 a BcastState object. The default source is node 0. 🫢
  • void bcast (int &) β€” Broadcast data to all nodes.
  • void bcast (double &) β€” another bcast overload; the manpage gives no separate description here.
  • void bcast (int *&, int) β€” another bcast overload; no separate description here.
  • void bcast (double *&, int) β€” another bcast overload; no separate description here.
  • template<class T > void bcast (Ref< T > &a) β€” the template bcast overload; no separate description here.
  • void flush () β€” Force data to be written.
  • void forget_references () β€” Call the StateOut or StateIn forget_references member.
  • 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