.TH "sc::MsgStateSend" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::MsgStateSend \- The \fBMsgStateSend\fP is an abstract base class that sends objects to nodes in a \fBMessageGrp\fP\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::StateOut\fP\&. .PP Inherited by \fBsc::BcastStateSend\fP, and \fBsc::StateSend\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBMsgStateSend\fP (const \fBRef\fP< \fBMessageGrp\fP > &)" .br .ti -1c .RI "virtual void \fBflush\fP ()=0" .br .RI "Specializations must implement \fBflush()\fP\&. " .ti -1c .RI "void \fBset_buffer_size\fP (int)" .br .RI "The buffer size of statein and stateout objects that communicate with each other must match\&. " .ti -1c .RI "int \fBput\fP (const \fBClassDesc\fP *)" .br .RI "I only need to override \fBput(const ClassDesc*)\fP but C++ will hide all of the other put's so I must override everything\&. " .ti -1c .RI "int \fBput\fP (char r)" .br .RI "Write the given datum\&. " .ti -1c .RI "int \fBput\fP (unsigned int r)" .br .ti -1c .RI "int \fBput\fP (int r)" .br .ti -1c .RI "int \fBput\fP (float r)" .br .ti -1c .RI "int \fBput\fP (double r)" .br .ti -1c .RI "int \fBput\fP (const char *, int)" .br .RI "Write the given array data\&. " .ti -1c .RI "int \fBput\fP (const int *, int)" .br .ti -1c .RI "int \fBput\fP (const unsigned int *, int)" .br .ti -1c .RI "int \fBput\fP (const float *, int)" .br .ti -1c .RI "int \fBput\fP (const double *, int)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "int \fBput_array_void\fP (const void *, int)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBRef\fP< \fBMessageGrp\fP > \fBgrp\fP" .br .ti -1c .RI "int \fBnbuf\fP" .br .ti -1c .RI "int \fBbufsize\fP" .br .ti -1c .RI "char * \fBbuffer\fP" .br .ti -1c .RI "char * \fBsend_buffer\fP" .br .ti -1c .RI "int \fBnheader\fP" .br .ti -1c .RI "int * \fBnbuf_buffer\fP" .br .in -1c .SH "Detailed Description" .PP The \fBMsgStateSend\fP is an abstract base class that sends objects to nodes in a \fBMessageGrp\fP\&. .SH "Member Function Documentation" .PP .SS "int sc::MsgStateSend::put (const char *, int)\fC [virtual]\fP" .PP Write the given array data\&. Size information is also saved\&. The data is allocated and read by the get(T*&) routines\&. .PP Reimplemented from \fBsc::StateOut\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.