BlackWhitelistUpdate.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "BlackWhitelist.h"
4 
5 #include <RobotAPI/interface/core/BlackWhitelist.h>
6 
7 
8 namespace armarx
9 {
10 
11  void updateStringList(std::set<std::string>& list, const StringListUpdate& update);
12 
13 
14  inline
15  void updateBlackWhitelist(StringBlackWhitelist& bw, const armarx::BlackWhitelistUpdate& update)
16  {
17  updateStringList(bw.black, update.blacklist);
18  updateStringList(bw.white, update.whitelist);
19  }
20 
21 }
22 
armarx::updateBlackWhitelist
void updateBlackWhitelist(StringBlackWhitelist &bw, const armarx::BlackWhitelistUpdate &update)
Definition: BlackWhitelistUpdate.h:15
list
list(APPEND SOURCES ${QT_RESOURCES}) set(COMPONENT_LIBS ArmarXGui ArmarXCoreObservers ArmarXCoreEigen3Variants PlotterController $
Definition: CMakeLists.txt:49
BlackWhitelist.h
armarx::BlackWhitelist::black
std::set< Key > black
Elements in this list are always excluded.
Definition: BlackWhitelist.h:49
armarx::BlackWhitelist::white
std::set< Key > white
If not empty, only these elements are included.
Definition: BlackWhitelist.h:51
armarx::armem::server::ltm::util::mongodb::detail::update
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Definition: mongodb.cpp:67
armarx::BlackWhitelist< std::string >
armarx::updateStringList
void updateStringList(std::set< std::string > &list, const StringListUpdate &update)
Definition: BlackWhitelistUpdate.cpp:4
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28