Struct CurveRTCHost::RTCVariableProperties

Nested Relationships

This struct is a nested type of Class CurveRTCHost.

Struct Documentation

struct RTCVariableProperties

Properties for a registered agent/message-in/message-out/agent-out variable

Public Members

std::string type

Name of the variable’s base type (e.g. type of an individual element if array variable)

bool read

True if the variable should be readable

bool write

True if the variable should be writable

unsigned int elements

Number of elements, 1 unless an array variable

size_t type_size

Size of the variable’s base type (e.g. size of an individual element if array variable)

void *h_data_ptr

Pointer to a location in host memory where the device pointer to this variables buffer must be stored