|
AGX Dynamics 2.42.3.1
|
Transactions are used to reserve exclusive memory areas in which the threads can write their data. More...
#include <GlobalResult.h>
Public Member Functions | |
| bool | commit () |
| Same as above but without deterministic sorting. | |
| bool | commit (Index sortIndex) |
| Commit the transaction after copying data to global buffer(s) | |
| BufferSet * | getBufferSet () |
| GlobalResult * | getTarget () |
| const IndexRange & | range () const |
Transactions are used to reserve exclusive memory areas in which the threads can write their data.
Definition at line 72 of file GlobalResult.h.
| bool agx::GlobalResult::Transaction::commit | ( | ) |
Same as above but without deterministic sorting.
Definition at line 361 of file GlobalResult.h.
References agxAssertN, agx::GlobalResult::BufferSet(), agx::GlobalResult::ORDER, and agx::GlobalResult::SORT.
| bool agx::GlobalResult::Transaction::commit | ( | Index | sortIndex | ) |
Commit the transaction after copying data to global buffer(s)
| sortIndex | A sort index used to build a deterministic ordering of the result data |
Definition at line 339 of file GlobalResult.h.
References agxAssert, agx::GlobalResult::m_sortedRanges, and agx::Container::size().
| GlobalResult::BufferSet * agx::GlobalResult::Transaction::getBufferSet | ( | ) |
Definition at line 335 of file GlobalResult.h.
| GlobalResult * agx::GlobalResult::Transaction::getTarget | ( | ) |
Definition at line 336 of file GlobalResult.h.
| const IndexRange & agx::GlobalResult::Transaction::range | ( | ) | const |
Definition at line 334 of file GlobalResult.h.