Class MessageBucket::Out

Nested Relationships

This class is a nested type of Class MessageBucket.

Inheritance Relationships

Base Type

Class Documentation

class Out : public flamegpu::MessageBruteForce::Out

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

Public Functions

__device__ inline Out(const void *_metadata, unsigned int *scan_flag_messageOutput)

Constructor Initialises member variables

Parameters:
  • _metadata – Message specialisation specific metadata struct (of type MessageBucket::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

Note

Convenience wrapper for setVariable()

Parameters:

key – Key of the bucket to store the message

Public Members

const MetaData *const metadata

Metadata struct for accessing messages