Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kParallelArgs Struct Reference

Description

Arguments received by a kParallel data processing callback.

Inheritance diagram for kParallelArgs:
Inheritance graph

Public Member Functions

kSize kParallelArgs_Begin (const kParallelArgs *args, kSize start, kSize count)
 Helper method that can be used to calculate the data start index within a kParallel callback. More...
 
kSize kParallelArgs_End (const kParallelArgs *args, kSize start, kSize count)
 Helper method that can be used to calculate the data end index within a kParallel callback. More...
 
- Public Member Functions inherited from kValue
kBool kValue_Equals (kType type, const void *value, const void *other)
 Determines whether a value is equal to another value. More...
 
kSize kValue_HashCode (kType type, const void *value)
 Gets a hash code representing the state of this value. More...
 
void kValue_Import (kType type, void *value, const void *source)
 Imports the content of another value into this value. More...
 

Public Attributes

kPointer content
 Shared data content, to be processed by callbacks.
 
kSize count
 Total number of processing callbacks (1 or more).
 
kSize index
 Index of current processing callback (0..count-1).
 

Additional Inherited Members

- Protected Member Functions inherited from kValue
kBool kValue_VEquals (kType type, const void *value, const void *other)
 Protected virtual method that compares two values for equality. More...
 
kSize kValue_VHashCode (kType type, const void *value)
 Protected virtual method that calculates a hash code representing the value instance. More...
 
void kValue_VImport (kType type, void *value, const void *source)
 Protected virtual method that imports data from an external source into an array-value type. More...
 

The documentation for this struct was generated from the following file: