Configurator.cpp
Go to the documentation of this file.
2
4
6{
7 void Configurator::useRestPersistenceStrategy(const std::string& identifier, const std::string& exportName, const std::string& host, int port, bool overwritePrevStrategy)
8 {
9 ARMARX_IMPORTANT << "Use rest persistence strategy identifier=" << identifier << ", exportName=" << exportName << ", host=" << host << ", port=" << port << ", overwritePrevStrategy=" << overwritePrevStrategy << " (ConfiguratorPrx)";
10
11 configurationPrx->useRestPersistenceStrategy(identifier, exportName, host, port, overwritePrevStrategy);
12 }
13
14 void Configurator::useDiskPersistenceStrategy(const std::string& identifier, const std::string& exportName, const std::string& exportPath, bool overwritePrevStrategy)
15 {
16 ARMARX_IMPORTANT << "Use disk persistence strategy identifier=" << identifier << ", exportName=" << exportName << ", exportPath=" << exportPath << ", ovewritePrevStrategy=" << overwritePrevStrategy << " (ConfiguratorPrx)";
17
18 configurationPrx->useDiskPersistenceStrategy(identifier, exportName, exportPath, overwritePrevStrategy);
19 }
20} // namespace armarx::armem::client
void useRestPersistenceStrategy(const std::string &identifier, const std::string &exportName, const std::string &host, int port, bool overwritePrevStrategy)
Use a rest server as LTM persistence sink.
void useDiskPersistenceStrategy(const std::string &identifier, const std::string &exportName, const std::string &exportPath, bool overwritePrevStrategy)
Use the disk as LTM persistence sink.
server::ConfiguringMemoryInterfacePrx configurationPrx
#define ARMARX_IMPORTANT
The logging level for always important information, but expected behaviour (in contrast to ARMARX_WAR...
Definition Logging.h:190
This file is part of ArmarX.