Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::BufferHandle Class Reference
Collaboration diagram for duckdb::BufferHandle:

Public Member Functions

DUCKDB_API BufferHandle (shared_ptr< BlockHandle > handle, optional_ptr< FileBuffer > node)
 
 BufferHandle (const BufferHandle &other)=delete
 
BufferHandleoperator= (const BufferHandle &)=delete
 
DUCKDB_API BufferHandle (BufferHandle &&other) noexcept
 enable move constructors
 
DUCKDB_API BufferHandleoperator= (BufferHandle &&) noexcept
 
DUCKDB_API bool IsValid () const
 Returns whether or not the BufferHandle is valid.
 
data_ptr_t Ptr () const
 Returns a pointer to the buffer data. Handle must be valid.
 
data_ptr_t Ptr ()
 Returns a pointer to the buffer data. Handle must be valid.
 
DUCKDB_API FileBufferGetFileBuffer ()
 Gets the underlying file buffer. Handle must be valid.
 
DUCKDB_API void Destroy ()
 Destroys the buffer handle.
 
const shared_ptr< BlockHandle > & GetBlockHandle () const
 

Private Attributes

shared_ptr< BlockHandlehandle
 The block handle.
 
optional_ptr< FileBuffernode
 The managed buffer node.
 

Member Function Documentation

◆ Ptr() [1/2]

data_ptr_t duckdb::BufferHandle::Ptr ( ) const
inline

Returns a pointer to the buffer data. Handle must be valid.

9927 {
9928 D_ASSERT(IsValid());
9929 return node->buffer;
9930 }
DUCKDB_API bool IsValid() const
Returns whether or not the BufferHandle is valid.
optional_ptr< FileBuffer > node
The managed buffer node.
Definition duckdb.hpp:9949
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Ptr() [2/2]

data_ptr_t duckdb::BufferHandle::Ptr ( )
inline

Returns a pointer to the buffer data. Handle must be valid.

9932 {
9933 D_ASSERT(IsValid());
9934 return node->buffer;
9935 }
Here is the call graph for this function:

◆ GetBlockHandle()

const shared_ptr< BlockHandle > & duckdb::BufferHandle::GetBlockHandle ( ) const
inline
9941 {
9942 return handle;
9943 }
shared_ptr< BlockHandle > handle
The block handle.
Definition duckdb.hpp:9947

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