Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

MsgStateSend Class Reference

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

#include <mstate.h>

Inheritance diagram for MsgStateSend

Inheritance graph
[legend]
Collaboration diagram for MsgStateSend:

Collaboration graph
[legend]
List of all members.

Public Methods

 MsgStateSend (const Ref< MessageGrp > &)
virtual ~MsgStateSend ()
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(const ClassDesc*) 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. More...

int put (const int *,int)
int put (const unsigned int *,int)
int put (const float *,int)
int put (const double *,int)

Protected Methods

int put_array_void (const void *, int)

Protected Attributes

Ref<MessageGrpgrp
int nbuf
int bufsize
char* buffer
char* send_buffer
int nheader
int* nbuf_buffer

Detailed Description

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


Member Function Documentation

int 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 StateOut.


The documentation for this class was generated from the following file:
Generated at Thu Oct 4 18:09:26 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.