Class MsgBruteForce::Out

Nested Relationships

This class is a nested type of Class MsgBruteForce.

Inheritance Relationships

Derived Types

Class Documentation

class MsgBruteForce::Out

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

Subclassed by MsgBucket::Out, MsgSpatial2D::Out, MsgSpatial3D::Out

Public Functions

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

Constructer Initialises member variables

  • agentfn_hash – Added to msg_hash to produce combined_hash

  • msg_hash – Added to agentfn_hash to produce combined_hash

  • scan_flag_messageOutput – Scan flag array for optional message output

template<typename T, unsigned int N>
__device__ void setVariable(const char (&variable_name)[N], T value) const

Sets the specified variable for this agents message

  • variable_name – Name of the variable

  • value – The value to set the specified variable

Template Parameters
  • T – type of the variable

  • N – Length of variable name (this should be implicit if a string literal is passed to variable name)


The specified variable, else 0x0 if an error occurs

Protected Attributes

Curve::NamespaceHash combined_hash

CURVE hash for accessing message data agentfn_hash + msg_hash

unsigned int *scan_flag

Scan flag array for optional message output