Struct MsgBucket::Data

Nested Relationships

This struct is a nested type of Class MsgBucket.

Inheritance Relationships

Base Type

Struct Documentation

struct MsgBucket::Data : public MsgBruteForce::Data

Internal data representation of Bucket messages within model description hierarchy



Public Functions

virtual ~Data() = default
virtual std::unique_ptr<MsgSpecialisationHandler> getSpecialisationHander(CUDAMessage &owner) const override
virtual std::type_index getType() const override

Used internally to validate that the corresponding Msg type is attached via the agent function shim.


The std::type_index of the Msg type which must be used.

Public Members

IntT lowerBound

Initially set to 0 Min must be set to the first valid key

IntT upperBound

Initially set to std::numeric_limits<IntT>::max(), which acts as flag to say it has not been set Max must be set to the last valid key

Protected Functions

virtual Data *clone(const std::shared_ptr<const ModelData> &newParent) override
Data(const std::shared_ptr<const ModelData>&, const Data &other)

Copy constructor This is unsafe, should only be used internally, use clone() instead

Data(const std::shared_ptr<const ModelData>&, const std::string &message_name)

Normal constructor, only to be called by ModelDescription


friend class ModelDescription
friend struct ModelData