Class MsgBucket::Out

Nested Relationships

This class is a nested type of Class MsgBucket.

Inheritance Relationships

Base Type

Class Documentation

class MsgBucket::Out : public MsgBruteForce::Out

This class is accessible via DeviceAPI.message_out if MsgBucket is specified in FLAMEGPU_AGENT_FUNCTION It gives access to functionality for outputting bucketed messages

Public Functions

__device__ inline Out(Curve::NamespaceHash agentfn_hash, Curve::NamespaceHash msg_hash, const void *_metadata, unsigned int *scan_flag_messageOutput)

Constructor Initialises member variables

  • agentfn_hash – Added to msg_hash to produce combined_hash

  • msg_hash – Added to agentfn_hash to produce combined_hash

  • _metadata – Message specialisation specific metadata struct (of type MsgBucket::MetaData)

  • scan_flag_messageOutput – Scan flag array for optional message output

__device__ inline void setKey(const IntT &key) const

Sets the location for this agents message


Convenience wrapper for setVariable()


key – Key of the bucket to store the message

Public Members

const MetaData *const metadata

Metadata struct for accessing messages