Class MessageNone

Class Documentation

class flamegpu::MessageNone

This empty class is used when messaging is not enabled for an agent function It also provides the best overview of the required components of a new messsaging type

Public Types

typedef unsigned int size_type

Common size type

class CUDAModelHandler : public flamegpu::MessageSpecialisationHandler

Provides specialisation behaviour for messages between agent functions e.g. allocates/initialises additional data structure memory, sorts messages and builds an index Created and owned by CUDAMessage

Public Functions

inline explicit CUDAModelHandler(CUDAMessage &a)

Constructor

Public Members

CUDAMessage &sim_message

Owning CUDAMessage

class In

Provides message input functionality during agent functions Constructed and owned by DeviceAPI

Public Functions

__device__ inline In(detail::curve::Curve::NamespaceHash, detail::curve::Curve::NamespaceHash, const void*)

Constructor Requires CURVE hashes for agent function and message name to retrieve variable memory locations Takes a device pointer to a struct for metadata related to accessing the messages (e.g. an index data structure)

class Out

Provides message output functionality during agent functions Constructed and owned by DeviceAPI

Public Functions

__device__ inline Out(detail::curve::Curve::NamespaceHash, detail::curve::Curve::NamespaceHash, const void*, unsigned int*)

Constructor Requires CURVE hashes for agent function and message name to retrieve variable memory locations Takes a device pointer to a struct for metadata related to accessing the messages (e.g. an index data structure)