ESyS-Particle  4.0.1
Public Member Functions
BroadcastCommand Class Reference

base class for broadcast commands More...

#include <BroadCast_cmd.h>

Inheritance diagram for BroadcastCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BroadcastCommand (const MpiRankAndComm &rankAndComm, int cmdId)
template<typename TmplData >
void appendTypeAndName (const TmplData &namedWithType)
template<typename TmplData >
void append (const TmplData &basicTypeData)
template<typename TmplPackable >
void packInto (const TmplPackable &)
const int & getCommandId () const
void broadcastCommand ()
void broadcastBuffer ()
void wait (const std::string &barrierName)
void broadcast ()

Detailed Description

base class for broadcast commands


Member Function Documentation

template<typename TmplData >
void BroadcastCommand::append ( const TmplData &  basicTypeData)
template<typename TmplData >
void BroadcastCommand::appendTypeAndName ( const TmplData &  namedWithType)

Appends namedWithType.getTypeString() and namedWithType.getName() strings to the data buffer.

References CVarMPIBuffer::append().

Referenced by CLatticeMaster::addMesh2DIG(), and CLatticeMaster::addTriMeshIG().

Here is the call graph for this function:

Here is the caller graph for this function:

void BroadcastCommand::broadcast ( )
void BroadcastCommand::broadcastBuffer ( )

Broadcasts the data buffer.

void BroadcastCommand::broadcastCommand ( )

Broadcasts the command (ie the command id).

const int & BroadcastCommand::getCommandId ( ) const

Returns the command id of this broadcast-command.

template<typename TmplPackable >
void BroadcastCommand::packInto ( const TmplPackable &  packable)

Packs the specified data into the data-buffer.

Referenced by CLatticeMaster::addWallIG().

Here is the caller graph for this function:

void BroadcastCommand::wait ( const std::string &  barrierName)

Barrier wait.


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