18#ifndef AGXDATA_SHARE_HANDLE_H
19#define AGXDATA_SHARE_HANDLE_H
44 const Buffer *getActiveBuffer()
const;
55 typedef void (*ActivationFn)(
Buffer *activationTarget,
Buffer *currentHolder);
#define AGX_DECLARE_POINTER_TYPES(type)
Abstract representation of a data buffer.
void activate(Buffer *buffer)
void addBuffer(Buffer *buffer)
static bool hasBridge(Buffer *buffer1, Buffer *buffer2)
Buffer * getActiveBuffer()
agx::SymmetricPair< agx::UInt > DevicePairDescriptor
void removeBuffer(Buffer *buffer)
static ShareHandle * create(Buffer *buffer1, Buffer *buffer2)
Base class providing referencing counted objects.
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
Contains classes for low level data storage for AGX.