Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Public Member Functions | Protected Attributes | List of all members
schedule Class Referenceabstract

#include <schedule.hpp>

Inheritance diagram for schedule:
Inheritance graph
[legend]

Classes

struct  block_transfer
 

Public Member Functions

 schedule (uint32_t members, uint32_t index)
 
virtual ~schedule ()=default
 
virtual vector< uint32_t > get_connections () const =0
 
virtual optional< block_transferget_outgoing_transfer (size_t num_blocks, size_t send_step) const =0
 
virtual optional< block_transferget_incoming_transfer (size_t num_blocks, size_t receive_step) const =0
 
virtual optional< block_transferget_first_block (size_t num_blocks) const =0
 
virtual size_t get_total_steps (size_t num_blocks) const =0
 

Protected Attributes

const uint32_t num_members = 0
 
const uint32_t member_index = 0
 

Detailed Description

Definition at line 11 of file schedule.hpp.


Class Documentation

◆ schedule::block_transfer

struct schedule::block_transfer

Definition at line 22 of file schedule.hpp.

Class Members
size_t block_number
uint32_t target

Constructor & Destructor Documentation

◆ schedule()

schedule::schedule ( uint32_t  members,
uint32_t  index 
)
inline

Definition at line 17 of file schedule.hpp.

◆ ~schedule()

virtual schedule::~schedule ( )
virtualdefault

Member Function Documentation

◆ get_connections()

virtual vector<uint32_t> schedule::get_connections ( ) const
pure virtual

◆ get_first_block()

virtual optional<block_transfer> schedule::get_first_block ( size_t  num_blocks) const
pure virtual

◆ get_incoming_transfer()

virtual optional<block_transfer> schedule::get_incoming_transfer ( size_t  num_blocks,
size_t  receive_step 
) const
pure virtual

◆ get_outgoing_transfer()

virtual optional<block_transfer> schedule::get_outgoing_transfer ( size_t  num_blocks,
size_t  send_step 
) const
pure virtual

◆ get_total_steps()

virtual size_t schedule::get_total_steps ( size_t  num_blocks) const
pure virtual

Member Data Documentation

◆ member_index

const uint32_t schedule::member_index = 0
protected

Definition at line 14 of file schedule.hpp.

◆ num_members

const uint32_t schedule::num_members = 0
protected

Definition at line 13 of file schedule.hpp.


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