![]() |
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.
|

Classes | |
| struct | IteratorState |
Public Member Functions | |
| UndoBuffer (DuckTransaction &transaction, ClientContext &context) | |
| UndoBufferReference | CreateEntry (UndoFlags type, idx_t len) |
| Write a specified entry to the undo buffer. | |
| bool | ChangesMade () |
| UndoBufferProperties | GetProperties () |
| void | Cleanup (transaction_t lowest_active_transaction) |
| Cleanup the undo buffer. | |
| void | WriteToWAL (WriteAheadLog &wal, optional_ptr< StorageCommitState > commit_state) |
| Commit the changes made in the UndoBuffer: should be called on commit. | |
| void | Commit (UndoBuffer::IteratorState &iterator_state, CommitInfo &info) |
| Commit the changes made in the UndoBuffer: should be called on commit. | |
| void | RevertCommit (UndoBuffer::IteratorState &iterator_state, transaction_t transaction_id) |
| Revert committed changes made in the UndoBuffer up until the currently committed state. | |
| void | Rollback () |
Private Member Functions | |
| template<class T > | |
| void | IterateEntries (UndoBuffer::IteratorState &state, T &&callback) |
| template<class T > | |
| void | IterateEntries (UndoBuffer::IteratorState &state, UndoBuffer::IteratorState &end_state, T &&callback) |
| template<class T > | |
| void | ReverseIterateEntries (T &&callback) |
Private Attributes | |
| DuckTransaction & | transaction |
| UndoBufferAllocator | allocator |
| ActiveTransactionState | active_transaction_state = ActiveTransactionState::UNSET |
The undo buffer of a transaction is used to hold previous versions of tuples that might be required in the future (because of rollbacks or previous transactions accessing them)
| void duckdb::UndoBuffer::Rollback | ( | ) |
Rollback the changes made in this UndoBuffer: should be called on rollback