DataMessage Class Reference

#include <DataExchanger.h>

List of all members.

Public Member Functions

void setMessage (const char *_data, int _src, int _srcPart, int _size, int _handler, int _code)

Public Attributes

char core [CmiMsgHeaderSizeBytes]
int src
int srcPart
int size
int code
char data [1]

Detailed Description

Definition at line 18 of file DataExchanger.h.


Member Function Documentation

void DataMessage::setMessage ( const char *  _data,
int  _src,
int  _srcPart,
int  _size,
int  _handler,
int  _code 
) [inline]

Definition at line 25 of file DataExchanger.h.

References code, core, data, size, src, and srcPart.

Referenced by packSend().

00025                                                                                                  {
00026     src = _src; srcPart = _srcPart;
00027     size = _size;
00028     code = _code;
00029     memcpy(data,_data,size);
00030     CmiSetHandler(core,_handler);
00031   }


Member Data Documentation

Definition at line 22 of file DataExchanger.h.

Referenced by setMessage().

char DataMessage::core[CmiMsgHeaderSizeBytes]

Definition at line 20 of file DataExchanger.h.

Referenced by setMessage().

Definition at line 21 of file DataExchanger.h.

Referenced by setMessage().

Definition at line 21 of file DataExchanger.h.

Referenced by setMessage().


The documentation for this class was generated from the following file:

Generated on 20 Oct 2019 for NAMD by  doxygen 1.6.1