logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc::MsgStateSend - The MsgStateSend is an abstract base class that sends objects to nodes in a

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                              sc::MsgStateSend(3)

Detailed Description

       The MsgStateSend is an abstract base class that sends objects to nodes in a MessageGrp.

Member Function Documentation

intsc::MsgStateSend::put(constchar*,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.

Name

       sc::MsgStateSend - The MsgStateSend is an abstract base class that sends objects to nodes in a
       MessageGrp.

Synopsis

       #include <mstate.h>

       Inherits sc::StateOut.

       Inherited by sc::BcastStateSend, and sc::StateSend.

   PublicMemberFunctionsMsgStateSend (const Ref< MessageGrp > &)
       virtual void flush ()=0
           Specializations must implement flush().
       void set_buffer_size (int)
           The buffer size of statein and stateout objects that communicate with each other must match.
       int put (const ClassDesc *)
           I only need to override put(constClassDesc*) but C++ will hide all of the other put's so I must
           override everything.
       int put (char r)
           Write the given datum.
       int put (unsigned int r)
       int put (int r)
       int put (float r)
       int put (double r)
       int put (const char *, int)
           Write the given array data.
       int put (const int *, int)
       int put (const unsigned int *, int)
       int put (const float *, int)
       int put (const double *, int)

   ProtectedMemberFunctions
       int put_array_void (const void *, int)

   ProtectedAttributesRef< MessageGrp > grp
       int nbuf
       int bufsize
       char * buffer
       char * send_buffer
       int nheader
       int * nbuf_buffer

See Also