sc::MsgStateSend(3)
π sc::MsgStateSend(3) β the MPQC manual page, bestie π
π NAME π
sc::MsgStateSend β the abstract base class that sends objects to nodes in a MessageGrp. Itβs giving βabstract base class with main character energy.β π
β¨ SYNOPSIS β¨
#include <mstate.h>
Inherits sc::StateOut.
Inherited by sc::BcastStateSend, and sc::StateSend.
πΈ Public Member Functions πΈ
MsgStateSend (const Ref< MessageGrp > &)β constructor moment: it takes aconst Ref< MessageGrp > &.virtual void flush ()=0β pure virtual, no cap. Specializations must implementflush().void set_buffer_size (int)β sets the buffer size. The buffer size ofstateinandstateoutobjects that communicate with each other must match. Thatβs the rule, bestie. π«Άint put (const ClassDesc *)β the author note says: onlyput(const ClassDesc*)really needs overriding, but C++ will hide all the otherputoverloads, so everything has to be overridden. C++ being C++ π.int put (char r)β write the given datum.int put (unsigned int r)β write the given datum.int put (int r)β write the given datum.int put (float r)β write the given datum.int put (double r)β write the given datum.int put (const char *, int)β write the given array data.int put (const int *, int)β write the given array data.int put (const unsigned int *, int)β write the given array data.int put (const float *, int)β write the given array data.int put (const double *, int)β write the given array data.
π‘οΈ Protected Member Functions π‘οΈ
int put_array_void (const void *, int)β protected member function, listed exactly like this.
π Protected Attributes π
Ref< MessageGrp > grpint nbufint bufsizechar * bufferchar * send_bufferint nheaderint * nbuf_buffer
π« Detailed Description π«
Okay so the whole vibe is: MsgStateSend is an abstract base class that sends objects to nodes in a MessageGrp. Thatβs literally the description. Iconic, brief, to the point. β¨
π Member Function Documentation π
int sc::MsgStateSend::put (const char *, int) [virtual]
Write the given array data. Size information is also saved. The data is allocated and read by the get(T*&) routines.
Reimplemented from sc::StateOut.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
Sign-off: this is from the MPQC source, version 2.3.1, dated Sun Oct 4 2020, and yes bestie, itβs the sc::MsgStateSend(3) page. Bye! π«Άβ¨π
π¦ 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