SpinParser  1.0
Public Member Functions | Public Attributes | List of all members
HMP::LoadManager::Chunk Struct Reference

Definition of a small chunk of work. Used to communicate workload between different LoadManager instances. More...

#include <LoadManager.hpp>

Public Member Functions

 Chunk ()
 Construct an empty work chunk.
 
 Chunk (const int stackId, const int begin, const int end)
 Construct a work chunk for a specific workload. More...
 
bool isVoid () const
 Check of the workload is empty.
 
bool operator== (const Chunk &rhs) const
 Comparison operator.
 
bool operator!= (const Chunk &rhs) const
 Negative comparison operator.
 

Public Attributes

int properties [3]
 Workload specification. First value describes the stack id, second value describes the first element of the workload, and the third value the last element of the workload.

 

Detailed Description

Definition of a small chunk of work. Used to communicate workload between different LoadManager instances.

Constructor & Destructor Documentation

◆ Chunk()

HMP::LoadManager::Chunk::Chunk ( const int  stackId,
const int  begin,
const int  end 
)
inline

Construct a work chunk for a specific workload.

Parameters
stackIdId of the stack that the work should be performed on.
beginIndex of the first element whose calculator should be invoked.
endIndex of the last element whose calculator should be invoked.

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