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

Modules | |
| Metadata | |
| Partitioned Results | |
| Transaction Semantics | |
Classes | |
| struct | AdbcConnection |
| An active database connection. More... | |
Functions | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionNew (struct AdbcConnection *connection, struct AdbcError *error) |
| Allocate a new (but uninitialized) connection. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionSetOption (struct AdbcConnection *connection, const char *key, const char *value, struct AdbcError *error) |
| Set a char* option. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionSetOptionBytes (struct AdbcConnection *connection, const char *key, const uint8_t *value, size_t length, struct AdbcError *error) |
| Set a bytestring option on a connection. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionSetOptionInt (struct AdbcConnection *connection, const char *key, int64_t value, struct AdbcError *error) |
| Set an integer option. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionSetOptionDouble (struct AdbcConnection *connection, const char *key, double value, struct AdbcError *error) |
| Set a double option. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionInit (struct AdbcConnection *connection, struct AdbcDatabase *database, struct AdbcError *error) |
| Finish setting options and initialize the connection. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionRelease (struct AdbcConnection *connection, struct AdbcError *error) |
| Destroy this connection. | |
| ADBC_EXPORT AdbcStatusCode | AdbcConnectionCancel (struct AdbcConnection *connection, struct AdbcError *error) |
| Cancel the in-progress operation on a connection. | |
Functions for creating, using, and releasing database connections.
| ADBC_EXPORT AdbcStatusCode AdbcConnectionNew | ( | struct AdbcConnection * | connection, |
| struct AdbcError * | error | ||
| ) |
Allocate a new (but uninitialized) connection.
Callers pass in a zero-initialized AdbcConnection.
Drivers should allocate their internal data structure and set the private_data field to point to the newly allocated struct. This struct should be released when AdbcConnectionRelease is called.
| ADBC_EXPORT AdbcStatusCode AdbcConnectionSetOption | ( | struct AdbcConnection * | connection, |
| const char * | key, | ||
| const char * | value, | ||
| struct AdbcError * | error | ||
| ) |
Set a char* option.
Options may be set before AdbcConnectionInit. Some drivers may support setting options after initialization as well.
| [in] | connection | The database connection. |
| [in] | key | The option to set. |
| [in] | value | The option value. |
| [out] | error | An optional location to return an error message if necessary. |
| ADBC_EXPORT AdbcStatusCode AdbcConnectionSetOptionBytes | ( | struct AdbcConnection * | connection, |
| const char * | key, | ||
| const uint8_t * | value, | ||
| size_t | length, | ||
| struct AdbcError * | error | ||
| ) |
Set a bytestring option on a connection.
| [in] | connection | The connection. |
| [in] | key | The option to set. |
| [in] | value | The option value. |
| [in] | length | The option value length. |
| [out] | error | An optional location to return an error message if necessary. |
| ADBC_EXPORT AdbcStatusCode AdbcConnectionSetOptionInt | ( | struct AdbcConnection * | connection, |
| const char * | key, | ||
| int64_t | value, | ||
| struct AdbcError * | error | ||
| ) |
Set an integer option.
Options may be set before AdbcConnectionInit. Some drivers may support setting options after initialization as well.
| [in] | connection | The database connection. |
| [in] | key | The option to set. |
| [in] | value | The option value. |
| [out] | error | An optional location to return an error message if necessary. |
| ADBC_EXPORT AdbcStatusCode AdbcConnectionSetOptionDouble | ( | struct AdbcConnection * | connection, |
| const char * | key, | ||
| double | value, | ||
| struct AdbcError * | error | ||
| ) |
Set a double option.
Options may be set before AdbcConnectionInit. Some drivers may support setting options after initialization as well.
| [in] | connection | The database connection. |
| [in] | key | The option to set. |
| [in] | value | The option value. |
| [out] | error | An optional location to return an error message if necessary. |
| ADBC_EXPORT AdbcStatusCode AdbcConnectionInit | ( | struct AdbcConnection * | connection, |
| struct AdbcDatabase * | database, | ||
| struct AdbcError * | error | ||
| ) |
Finish setting options and initialize the connection.
Some drivers may support setting options after initialization as well.
| ADBC_EXPORT AdbcStatusCode AdbcConnectionRelease | ( | struct AdbcConnection * | connection, |
| struct AdbcError * | error | ||
| ) |
Destroy this connection.
| [in] | connection | The connection to release. |
| [out] | error | An optional location to return an error message if necessary. |
| ADBC_EXPORT AdbcStatusCode AdbcConnectionCancel | ( | struct AdbcConnection * | connection, |
| struct AdbcError * | error | ||
| ) |
Cancel the in-progress operation on a connection.
This can be called during AdbcConnectionGetObjects (or similar), or while consuming an ArrowArrayStream returned from such. Calling this function should make the other functions return ADBC_STATUS_CANCELLED (from ADBC functions) or ECANCELED (from methods of ArrowArrayStream). (It is not guaranteed to, for instance, the result set may be buffered in memory already.)
This must always be thread-safe (other operations are not). It is not necessarily signal-safe.
| [in] | connection | The connection to cancel. |
| [out] | error | An optional location to return an error message if necessary. |