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

int DataMessage::code

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().

char DataMessage::data[1]

Definition at line 23 of file DataExchanger.h.

Referenced by replica_bcast(), colvarproxy_namd::replica_comm_recv(), replica_min_double(), and setMessage().

int DataMessage::size

Definition at line 22 of file DataExchanger.h.

Referenced by replica_bcast(), colvarproxy_namd::replica_comm_recv(), replica_min_double(), and setMessage().

int DataMessage::src

Definition at line 21 of file DataExchanger.h.

Referenced by setMessage().

int DataMessage::srcPart

Definition at line 21 of file DataExchanger.h.

Referenced by setMessage().


The documentation for this class was generated from the following file:
Generated on Mon Sep 25 01:17:17 2017 for NAMD by  doxygen 1.4.7