SimGrid  3.21
Versatile Simulation of Distributed Systems
simgrid::smpi::replay::ReplayAction< T > Class Template Referenceabstract

Detailed Description

template<class T>
class simgrid::smpi::replay::ReplayAction< T >

Base class for all ReplayActions.

Note that this class actually implements the behavior of each action while the parsing of the replay arguments is done in the ActionArgParser class. In other words: The logic goes here, the setup is done by the ActionArgParser.

#include <replay.hpp>

Public Member Functions

 ReplayAction (std::string name)
 
virtual ~ReplayAction ()=default
 
void execute (simgrid::xbt::ReplayAction &action)
 
virtual void kernel (simgrid::xbt::ReplayAction &action)=0
 
void * send_buffer (int size)
 
void * recv_buffer (int size)
 

Protected Attributes

const std::string name
 
const aid_t my_proc_id
 
args
 

Constructor & Destructor Documentation

◆ ReplayAction()

template<class T>
simgrid::smpi::replay::ReplayAction< T >::ReplayAction ( std::string  name)
inlineexplicit

◆ ~ReplayAction()

template<class T>
virtual simgrid::smpi::replay::ReplayAction< T >::~ReplayAction ( )
virtualdefault

Member Function Documentation

◆ execute()

template<class T>
void simgrid::smpi::replay::ReplayAction< T >::execute ( simgrid::xbt::ReplayAction< T > &  action)
inline

◆ kernel()

◆ send_buffer()

template<class T>
void* simgrid::smpi::replay::ReplayAction< T >::send_buffer ( int  size)
inline

◆ recv_buffer()

template<class T>
void* simgrid::smpi::replay::ReplayAction< T >::recv_buffer ( int  size)
inline

Member Data Documentation

◆ name

template<class T>
const std::string simgrid::smpi::replay::ReplayAction< T >::name
protected

◆ my_proc_id

template<class T>
const aid_t simgrid::smpi::replay::ReplayAction< T >::my_proc_id
protected

◆ args

template<class T>
T simgrid::smpi::replay::ReplayAction< T >::args
protected

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