Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::NetworkIO::message Struct Reference

Message structure for sending data across the network. More...

#include <NetworkIO.h>

Public Member Functions

 message ()
 Default constructor initializes host and tag to large numbers. More...
 
 message (uint32_t h, uint32_t t, vTy &&d)
 
bool valid () const
 A message is valid if there is data to be sent. More...
 

Public Attributes

uint32_t host
 destination of this message More...
 
uint32_t tag
 tag on message indicating distinct communication phases More...
 
vTy data
 data portion of message More...
 

Detailed Description

Message structure for sending data across the network.

Constructor & Destructor Documentation

galois::runtime::NetworkIO::message::message ( )
inline

Default constructor initializes host and tag to large numbers.

galois::runtime::NetworkIO::message::message ( uint32_t  h,
uint32_t  t,
vTy &&  d 
)
inline
Parameters
hHost to send message to
tTag to associate with message
dData to save in message

Member Function Documentation

bool galois::runtime::NetworkIO::message::valid ( ) const
inline

A message is valid if there is data to be sent.

Returns
true if data is non-empty

Member Data Documentation

vTy galois::runtime::NetworkIO::message::data

data portion of message

uint32_t galois::runtime::NetworkIO::message::host

destination of this message

uint32_t galois::runtime::NetworkIO::message::tag

tag on message indicating distinct communication phases


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