#include <DBDriverSqlite3.h>
Public Member Functions | |
DBDriverSqlite3 (const ParametersMap ¶meters=ParametersMap()) | |
virtual bool | isInMemory () const |
virtual void | parseParameters (const ParametersMap ¶meters) |
void | setCacheSize (unsigned int cacheSize) |
void | setDbInMemory (bool dbInMemory) |
void | setJournalMode (int journalMode) |
void | setSynchronous (int synchronous) |
void | setTempStore (int tempStore) |
virtual | ~DBDriverSqlite3 () |
Protected Member Functions | |
virtual void | addLinkQuery (const Link &link) const |
virtual void | addStatisticsQuery (const Statistics &statistics) const |
virtual bool | connectDatabaseQuery (const std::string &url, bool overwritten=false) |
virtual void | disconnectDatabaseQuery (bool save=true, const std::string &outputUrl="") |
virtual void | executeNoResultQuery (const std::string &sql) const |
virtual void | getAllLabelsQuery (std::map< int, std::string > &labels) const |
virtual void | getAllLinksQuery (std::multimap< int, Link > &links, bool ignoreNullLinks) const |
virtual void | getAllNodeIdsQuery (std::set< int > &ids, bool ignoreChildren, bool ignoreBadSignatures) const |
virtual std::map< int, std::pair< std::map < std::string, float >, double > > | getAllStatisticsQuery () const |
virtual std::map< int, std::vector< int > > | getAllStatisticsWmStatesQuery () const |
virtual bool | getCalibrationQuery (int signatureId, std::vector< CameraModel > &models, StereoCameraModel &stereoModel) const |
virtual long | getCalibrationsMemoryUsedQuery () const |
virtual bool | getDatabaseVersionQuery (std::string &version) const |
virtual long | getDepthImagesMemoryUsedQuery () const |
virtual long | getFeaturesMemoryUsedQuery () const |
virtual long | getGridsMemoryUsedQuery () const |
virtual long | getImagesMemoryUsedQuery () const |
virtual void | getInvertedIndexNiQuery (int signatureId, int &ni) const |
virtual bool | getLaserScanInfoQuery (int signatureId, LaserScan &info) const |
virtual long | getLaserScansMemoryUsedQuery () const |
virtual int | getLastDictionarySizeQuery () const |
virtual void | getLastIdQuery (const std::string &tableName, int &id) const |
virtual int | getLastNodesSizeQuery () const |
virtual ParametersMap | getLastParametersQuery () const |
virtual long | getLinksMemoryUsedQuery () const |
virtual long | getMemoryUsedQuery () const |
virtual void | getNodeIdByLabelQuery (const std::string &label, int &id) const |
virtual bool | getNodeInfoQuery (int signatureId, Transform &pose, int &mapId, int &weight, std::string &label, double &stamp, Transform &groundTruthPose, std::vector< float > &velocity, GPS &gps) const |
virtual long | getNodesMemoryUsedQuery () const |
virtual long | getStatisticsMemoryUsedQuery () const |
virtual std::map< std::string, float > | getStatisticsQuery (int nodeId, double &stamp, std::vector< int > *wmState) const |
virtual int | getTotalDictionarySizeQuery () const |
virtual int | getTotalNodesSizeQuery () const |
virtual long | getUserDataMemoryUsedQuery () const |
virtual void | getWeightQuery (int signatureId, int &weight) const |
virtual long | getWordsMemoryUsedQuery () const |
virtual bool | isConnectedQuery () const |
virtual cv::Mat | load2DMapQuery (float &xMin, float &yMin, float &cellSize) const |
virtual void | loadLastNodesQuery (std::list< Signature * > &signatures) const |
virtual void | loadLinksQuery (int signatureId, std::map< int, Link > &links, Link::Type type=Link::kUndef) const |
virtual void | loadNodeDataQuery (std::list< Signature * > &signatures, bool images=true, bool scan=true, bool userData=true, bool occupancyGrid=true) const |
virtual cv::Mat | loadOptimizedMeshQuery (std::vector< std::vector< std::vector< unsigned int > > > *polygons, std::vector< std::vector< Eigen::Vector2f > > *texCoords, cv::Mat *textures) const |
virtual std::map< int, Transform > | loadOptimizedPosesQuery (Transform *lastlocalizationPose) const |
virtual cv::Mat | loadPreviewImageQuery () const |
virtual void | loadQuery (VWDictionary *dictionary, bool lastStateOnly=true) const |
virtual void | loadSignaturesQuery (const std::list< int > &ids, std::list< Signature * > &signatures) const |
virtual void | loadWordsQuery (const std::set< int > &wordIds, std::list< VisualWord * > &vws) const |
virtual void | save2DMapQuery (const cv::Mat &map, float xMin, float yMin, float cellSize) const |
virtual void | saveOptimizedMeshQuery (const cv::Mat &cloud, const std::vector< std::vector< std::vector< unsigned int > > > &polygons, const std::vector< std::vector< Eigen::Vector2f > > &texCoords, const cv::Mat &textures) const |
virtual void | saveOptimizedPosesQuery (const std::map< int, Transform > &optimizedPoses, const Transform &lastlocalizationPose) const |
virtual void | savePreviewImageQuery (const cv::Mat &image) const |
virtual void | saveQuery (const std::list< Signature * > &signatures) |
virtual void | saveQuery (const std::list< VisualWord * > &words) const |
virtual void | updateDepthImageQuery (int nodeId, const cv::Mat &image) const |
virtual void | updateLinkQuery (const Link &link) const |
virtual void | updateOccupancyGridQuery (int nodeId, const cv::Mat &ground, const cv::Mat &obstacles, const cv::Mat &empty, float cellSize, const cv::Point3f &viewpoint) const |
virtual void | updateQuery (const std::list< Signature * > &signatures, bool updateTimestamp) const |
virtual void | updateQuery (const std::list< VisualWord * > &words, bool updateTimestamp) const |
Protected Attributes | |
sqlite3 * | _ppDb |
std::string | _version |
Private Member Functions | |
void | loadLinksQuery (std::list< Signature * > &signatures) const |
int | loadOrSaveDb (sqlite3 *pInMemory, const std::string &fileName, int isSave) const |
std::string | queryStepDepth () const |
std::string | queryStepDepthUpdate () const |
std::string | queryStepImage () const |
std::string | queryStepKeypoint () const |
std::string | queryStepLink () const |
std::string | queryStepLinkUpdate () const |
std::string | queryStepNode () const |
std::string | queryStepOccupancyGridUpdate () const |
std::string | queryStepSensorData () const |
std::string | queryStepWordsChanged () const |
void | stepDepth (sqlite3_stmt *ppStmt, const SensorData &sensorData) const |
void | stepDepthUpdate (sqlite3_stmt *ppStmt, int nodeId, const cv::Mat &imageCompressed) const |
void | stepImage (sqlite3_stmt *ppStmt, int id, const cv::Mat &imageBytes) const |
void | stepKeypoint (sqlite3_stmt *ppStmt, int signatureId, int wordId, const cv::KeyPoint &kp, const cv::Point3f &pt, const cv::Mat &descriptor) const |
void | stepLink (sqlite3_stmt *ppStmt, const Link &link) const |
void | stepNode (sqlite3_stmt *ppStmt, const Signature *s) const |
void | stepOccupancyGridUpdate (sqlite3_stmt *ppStmt, int nodeId, const cv::Mat &ground, const cv::Mat &obstacles, const cv::Mat &empty, float cellSize, const cv::Point3f &viewpoint) const |
void | stepSensorData (sqlite3_stmt *ppStmt, const SensorData &sensorData) const |
void | stepWordsChanged (sqlite3_stmt *ppStmt, int signatureId, int oldWordId, int newWordId) const |
Private Attributes | |
unsigned int | _cacheSize |
bool | _dbInMemory |
int | _journalMode |
long | _memoryUsedEstimate |
int | _synchronous |
int | _tempStore |
Definition at line 40 of file DBDriverSqlite3.h.
rtabmap::DBDriverSqlite3::DBDriverSqlite3 | ( | const ParametersMap & | parameters = ParametersMap() | ) |
Definition at line 43 of file DBDriverSqlite3.cpp.
rtabmap::DBDriverSqlite3::~DBDriverSqlite3 | ( | ) | [virtual] |
Definition at line 58 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::addLinkQuery | ( | const Link & | link | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3976 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::addStatisticsQuery | ( | const Statistics & | statistics | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4101 of file DBDriverSqlite3.cpp.
bool rtabmap::DBDriverSqlite3::connectDatabaseQuery | ( | const std::string & | url, |
bool | overwritten = false |
||
) | [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 313 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::disconnectDatabaseQuery | ( | bool | save = true , |
const std::string & | outputUrl = "" |
||
) | [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 411 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::executeNoResultQuery | ( | const std::string & | sql | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 476 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getAllLabelsQuery | ( | std::map< int, std::string > & | labels | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2465 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getAllLinksQuery | ( | std::multimap< int, Link > & | links, |
bool | ignoreNullLinks | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2215 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getAllNodeIdsQuery | ( | std::set< int > & | ids, |
bool | ignoreChildren, | ||
bool | ignoreBadSignatures | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2165 of file DBDriverSqlite3.cpp.
std::map< int, std::pair< std::map< std::string, float >, double > > rtabmap::DBDriverSqlite3::getAllStatisticsQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1143 of file DBDriverSqlite3.cpp.
std::map< int, std::vector< int > > rtabmap::DBDriverSqlite3::getAllStatisticsWmStatesQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1200 of file DBDriverSqlite3.cpp.
bool rtabmap::DBDriverSqlite3::getCalibrationQuery | ( | int | signatureId, |
std::vector< CameraModel > & | models, | ||
StereoCameraModel & | stereoModel | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1746 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getCalibrationsMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 653 of file DBDriverSqlite3.cpp.
bool rtabmap::DBDriverSqlite3::getDatabaseVersionQuery | ( | std::string & | version | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 275 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getDepthImagesMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 621 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getFeaturesMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 828 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getGridsMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 690 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getImagesMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 589 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getInvertedIndexNiQuery | ( | int | signatureId, |
int & | ni | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2386 of file DBDriverSqlite3.cpp.
bool rtabmap::DBDriverSqlite3::getLaserScanInfoQuery | ( | int | signatureId, |
LaserScan & | info | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1945 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getLaserScansMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 723 of file DBDriverSqlite3.cpp.
int rtabmap::DBDriverSqlite3::getLastDictionarySizeQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 940 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getLastIdQuery | ( | const std::string & | tableName, |
int & | id | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2347 of file DBDriverSqlite3.cpp.
int rtabmap::DBDriverSqlite3::getLastNodesSizeQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 908 of file DBDriverSqlite3.cpp.
ParametersMap rtabmap::DBDriverSqlite3::getLastParametersQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1021 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getLinksMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 545 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 489 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getNodeIdByLabelQuery | ( | const std::string & | label, |
int & | id | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2435 of file DBDriverSqlite3.cpp.
bool rtabmap::DBDriverSqlite3::getNodeInfoQuery | ( | int | signatureId, |
Transform & | pose, | ||
int & | mapId, | ||
int & | weight, | ||
std::string & | label, | ||
double & | stamp, | ||
Transform & | groundTruthPose, | ||
std::vector< float > & | velocity, | ||
GPS & | gps | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2027 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getNodesMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 501 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getStatisticsMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 872 of file DBDriverSqlite3.cpp.
std::map< std::string, float > rtabmap::DBDriverSqlite3::getStatisticsQuery | ( | int | nodeId, |
double & | stamp, | ||
std::vector< int > * | wmState | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1067 of file DBDriverSqlite3.cpp.
int rtabmap::DBDriverSqlite3::getTotalDictionarySizeQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 996 of file DBDriverSqlite3.cpp.
int rtabmap::DBDriverSqlite3::getTotalNodesSizeQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 972 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getUserDataMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 768 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::getWeightQuery | ( | int | signatureId, |
int & | weight | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2505 of file DBDriverSqlite3.cpp.
long rtabmap::DBDriverSqlite3::getWordsMemoryUsedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 804 of file DBDriverSqlite3.cpp.
bool rtabmap::DBDriverSqlite3::isConnectedQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 470 of file DBDriverSqlite3.cpp.
virtual bool rtabmap::DBDriverSqlite3::isInMemory | ( | ) | const [inline, virtual] |
Reimplemented from rtabmap::DBDriver.
Definition at line 46 of file DBDriverSqlite3.h.
cv::Mat rtabmap::DBDriverSqlite3::load2DMapQuery | ( | float & | xMin, |
float & | yMin, | ||
float & | cellSize | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4491 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadLastNodesQuery | ( | std::list< Signature * > & | signatures | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3030 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadLinksQuery | ( | int | signatureId, |
std::map< int, Link > & | links, | ||
Link::Type | type = Link::kUndef |
||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3262 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadLinksQuery | ( | std::list< Signature * > & | signatures | ) | const [private] |
Definition at line 3414 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadNodeDataQuery | ( | std::list< Signature * > & | signatures, |
bool | images = true , |
||
bool | scan = true , |
||
bool | userData = true , |
||
bool | occupancyGrid = true |
||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 1250 of file DBDriverSqlite3.cpp.
cv::Mat rtabmap::DBDriverSqlite3::loadOptimizedMeshQuery | ( | std::vector< std::vector< std::vector< unsigned int > > > * | polygons, |
std::vector< std::vector< Eigen::Vector2f > > * | texCoords, | ||
cv::Mat * | textures | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4745 of file DBDriverSqlite3.cpp.
std::map< int, Transform > rtabmap::DBDriverSqlite3::loadOptimizedPosesQuery | ( | Transform * | lastlocalizationPose | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4356 of file DBDriverSqlite3.cpp.
int rtabmap::DBDriverSqlite3::loadOrSaveDb | ( | sqlite3 * | pInMemory, |
const std::string & | fileName, | ||
int | isSave | ||
) | const [private] |
Definition at line 228 of file DBDriverSqlite3.cpp.
cv::Mat rtabmap::DBDriverSqlite3::loadPreviewImageQuery | ( | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4232 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadQuery | ( | VWDictionary * | dictionary, |
bool | lastStateOnly = true |
||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3081 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadSignaturesQuery | ( | const std::list< int > & | ids, |
std::list< Signature * > & | signatures | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 2540 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::loadWordsQuery | ( | const std::set< int > & | wordIds, |
std::list< VisualWord * > & | vws | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3169 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::parseParameters | ( | const ParametersMap & | parameters | ) | [virtual] |
Reimplemented from rtabmap::DBDriver.
Definition at line 63 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepDepth | ( | ) | const [private] |
Definition at line 5054 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepDepthUpdate | ( | ) | const [private] |
Definition at line 5164 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepImage | ( | ) | const [private] |
Definition at line 5014 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepKeypoint | ( | ) | const [private] |
Definition at line 5635 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepLink | ( | ) | const [private] |
Definition at line 5508 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepLinkUpdate | ( | ) | const [private] |
Definition at line 5485 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepNode | ( | ) | const [private] |
Definition at line 4882 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepOccupancyGridUpdate | ( | ) | const [private] |
Definition at line 5750 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepSensorData | ( | ) | const [private] |
Definition at line 5217 of file DBDriverSqlite3.cpp.
std::string rtabmap::DBDriverSqlite3::queryStepWordsChanged | ( | ) | const [private] |
Definition at line 5602 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::save2DMapQuery | ( | const cv::Mat & | map, |
float | xMin, | ||
float | yMin, | ||
float | cellSize | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4439 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::saveOptimizedMeshQuery | ( | const cv::Mat & | cloud, |
const std::vector< std::vector< std::vector< unsigned int > > > & | polygons, | ||
const std::vector< std::vector< Eigen::Vector2f > > & | texCoords, | ||
const cv::Mat & | textures | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4549 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::saveOptimizedPosesQuery | ( | const std::map< int, Transform > & | optimizedPoses, |
const Transform & | lastlocalizationPose | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4283 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::savePreviewImageQuery | ( | const cv::Mat & | image | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4182 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::saveQuery | ( | const std::list< Signature * > & | signatures | ) | [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3759 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::saveQuery | ( | const std::list< VisualWord * > & | words | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3918 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::setCacheSize | ( | unsigned int | cacheSize | ) |
Definition at line 89 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::setDbInMemory | ( | bool | dbInMemory | ) |
Definition at line 190 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::setJournalMode | ( | int | journalMode | ) |
Definition at line 100 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::setSynchronous | ( | int | synchronous | ) |
Definition at line 134 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::setTempStore | ( | int | tempStore | ) |
Definition at line 162 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepDepth | ( | sqlite3_stmt * | ppStmt, |
const SensorData & | sensorData | ||
) | const [private] |
Definition at line 5070 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepDepthUpdate | ( | sqlite3_stmt * | ppStmt, |
int | nodeId, | ||
const cv::Mat & | imageCompressed | ||
) | const [private] |
Definition at line 5175 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepImage | ( | sqlite3_stmt * | ppStmt, |
int | id, | ||
const cv::Mat & | imageBytes | ||
) | const [private] |
Definition at line 5019 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepKeypoint | ( | sqlite3_stmt * | ppStmt, |
int | signatureId, | ||
int | wordId, | ||
const cv::KeyPoint & | kp, | ||
const cv::Point3f & | pt, | ||
const cv::Mat & | descriptor | ||
) | const [private] |
Definition at line 5651 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepLink | ( | sqlite3_stmt * | ppStmt, |
const Link & | link | ||
) | const [private] |
Definition at line 5532 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepNode | ( | sqlite3_stmt * | ppStmt, |
const Signature * | s | ||
) | const [private] |
Definition at line 4910 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepOccupancyGridUpdate | ( | sqlite3_stmt * | ppStmt, |
int | nodeId, | ||
const cv::Mat & | ground, | ||
const cv::Mat & | obstacles, | ||
const cv::Mat & | empty, | ||
float | cellSize, | ||
const cv::Point3f & | viewpoint | ||
) | const [private] |
Definition at line 5759 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepSensorData | ( | sqlite3_stmt * | ppStmt, |
const SensorData & | sensorData | ||
) | const [private] |
Definition at line 5241 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::stepWordsChanged | ( | sqlite3_stmt * | ppStmt, |
int | signatureId, | ||
int | oldWordId, | ||
int | newWordId | ||
) | const [private] |
Definition at line 5613 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::updateDepthImageQuery | ( | int | nodeId, |
const cv::Mat & | image | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4070 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::updateLinkQuery | ( | const Link & | link | ) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4004 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::updateOccupancyGridQuery | ( | int | nodeId, |
const cv::Mat & | ground, | ||
const cv::Mat & | obstacles, | ||
const cv::Mat & | empty, | ||
float | cellSize, | ||
const cv::Point3f & | viewpoint | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 4031 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::updateQuery | ( | const std::list< Signature * > & | signatures, |
bool | updateTimestamp | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3576 of file DBDriverSqlite3.cpp.
void rtabmap::DBDriverSqlite3::updateQuery | ( | const std::list< VisualWord * > & | words, |
bool | updateTimestamp | ||
) | const [protected, virtual] |
Implements rtabmap::DBDriver.
Definition at line 3719 of file DBDriverSqlite3.cpp.
unsigned int rtabmap::DBDriverSqlite3::_cacheSize [private] |
Definition at line 187 of file DBDriverSqlite3.h.
bool rtabmap::DBDriverSqlite3::_dbInMemory [private] |
Definition at line 186 of file DBDriverSqlite3.h.
int rtabmap::DBDriverSqlite3::_journalMode [private] |
Definition at line 188 of file DBDriverSqlite3.h.
long rtabmap::DBDriverSqlite3::_memoryUsedEstimate [private] |
Definition at line 185 of file DBDriverSqlite3.h.
sqlite3* rtabmap::DBDriverSqlite3::_ppDb [protected] |
Definition at line 181 of file DBDriverSqlite3.h.
int rtabmap::DBDriverSqlite3::_synchronous [private] |
Definition at line 189 of file DBDriverSqlite3.h.
int rtabmap::DBDriverSqlite3::_tempStore [private] |
Definition at line 190 of file DBDriverSqlite3.h.
std::string rtabmap::DBDriverSqlite3::_version [protected] |
Definition at line 182 of file DBDriverSqlite3.h.