Legion Runtime
Public Member Functions | List of all members
Legion::UntypedBuffer Class Reference

#include <legion.h>

Inheritance diagram for Legion::UntypedBuffer:
Legion::Unserializable< UntypedBuffer >

Public Member Functions

 UntypedBuffer (const void *arg, size_t argsize)
 
 UntypedBuffer (const UntypedBuffer &rhs)
 
 UntypedBuffer (UntypedBuffer &&rhs) noexcept
 
size_t get_size (void) const
 
void * get_ptr (void) const
 
bool operator== (const UntypedBuffer &arg) const
 
bool operator< (const UntypedBuffer &arg) const
 
UntypedBufferoperator= (const UntypedBuffer &rhs)
 
UntypedBufferoperator= (UntypedBuffer &&rhs) noexcept
 
- Public Member Functions inherited from Legion::Unserializable< UntypedBuffer >
size_t legion_buffer_size (void)
 
size_t legion_serialize (void *buffer)
 
size_t legion_deserialize (const void *buffer)
 

Detailed Description

A class for describing an untyped buffer value. Note that untyped buffers do not make copies of the data they point to. Copies are only made upon calls to the runtime to avoid double copying. It is up to the user to make sure that the the memory described by an untyped buffer is live throughout the duration of its lifetime.


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