MongoDBSettings Class Reference

#include <RobotAPI/libraries/armem/server/ltm/detail/mixins/MongoDBStorageMixin.h>

Public Member Functions

std::string baseUri () const
 
void initializeFromArmarXConfig ()
 Fills missing fields from armarx config file. More...
 
bool isSet () const
 
std::string key () const
 
 MongoDBSettings ()
 
std::string toString () const
 
std::string uri () const
 

Public Attributes

std::string host = ""
 
int maxPoolSize = 100
 
int minPoolSize = 5
 
std::string password = ""
 
unsigned int port = 0
 
std::string user = ""
 

Detailed Description

Definition at line 15 of file MongoDBStorageMixin.h.

Constructor & Destructor Documentation

◆ MongoDBSettings()

MongoDBSettings ( )
inline

Definition at line 26 of file MongoDBStorageMixin.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ baseUri()

std::string baseUri ( ) const

Definition at line 74 of file MongoDBStorageMixin.cpp.

+ Here is the caller graph for this function:

◆ initializeFromArmarXConfig()

void initializeFromArmarXConfig ( )

Fills missing fields from armarx config file.

Definition at line 20 of file MongoDBStorageMixin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isSet()

bool isSet ( ) const

Definition at line 67 of file MongoDBStorageMixin.cpp.

◆ key()

std::string key ( ) const

Definition at line 93 of file MongoDBStorageMixin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toString()

std::string toString ( ) const

Definition at line 108 of file MongoDBStorageMixin.cpp.

+ Here is the call graph for this function:

◆ uri()

std::string uri ( ) const

Definition at line 100 of file MongoDBStorageMixin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ host

std::string host = ""

Definition at line 18 of file MongoDBStorageMixin.h.

◆ maxPoolSize

int maxPoolSize = 100

Definition at line 23 of file MongoDBStorageMixin.h.

◆ minPoolSize

int minPoolSize = 5

Definition at line 22 of file MongoDBStorageMixin.h.

◆ password

std::string password = ""

Definition at line 21 of file MongoDBStorageMixin.h.

◆ port

unsigned int port = 0

Definition at line 19 of file MongoDBStorageMixin.h.

◆ user

std::string user = ""

Definition at line 20 of file MongoDBStorageMixin.h.


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