SpamFilterData.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4#include <mutex>
5#include <string>
6#include <unordered_map>
7
8#include <IceUtil/Time.h>
9
10namespace armarx
11{
13 std::unordered_map<std::string, std::unordered_map<std::string, IceUtil::Time>>;
14 using SpamFilterMapPtr = std::shared_ptr<SpamFilterMap>;
15
17 {
19 std::shared_ptr<std::mutex> mutex{new std::mutex()};
20 std::string identifier;
21 float durationSec = 10.0f;
22 };
23} // namespace armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::unordered_map< std::string, std::unordered_map< std::string, IceUtil::Time > > SpamFilterMap
std::shared_ptr< SpamFilterMap > SpamFilterMapPtr
SpamFilterMapPtr filterMap
std::shared_ptr< std::mutex > mutex