SpamFilterData.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <IceUtil/Time.h>
4
5
#include <unordered_map>
6
#include <memory>
7
#include <string>
8
#include <mutex>
9
10
namespace
armarx
11
{
12
using
SpamFilterMap
= std::unordered_map<std::string, std::unordered_map<std::string, IceUtil::Time> >;
13
using
SpamFilterMapPtr
= std::shared_ptr<SpamFilterMap>;
14
15
struct
SpamFilterData
16
{
17
SpamFilterMapPtr
filterMap
{
new
SpamFilterMap
()};
18
std::shared_ptr<std::mutex>
mutex
{
new
std::mutex()};
19
std::string
identifier
;
20
float
durationSec
= 10.0f;
21
};
22
}
armarx::SpamFilterData::identifier
std::string identifier
Definition:
SpamFilterData.h:19
armarx::SpamFilterData::mutex
std::shared_ptr< std::mutex > mutex
Definition:
SpamFilterData.h:18
armarx::SpamFilterData
Definition:
SpamFilterData.h:15
armarx::SpamFilterMap
std::unordered_map< std::string, std::unordered_map< std::string, IceUtil::Time > > SpamFilterMap
Definition:
SpamFilterData.h:12
armarx::SpamFilterData::durationSec
float durationSec
Definition:
SpamFilterData.h:20
armarx::SpamFilterData::filterMap
SpamFilterMapPtr filterMap
Definition:
SpamFilterData.h:17
armarx::SpamFilterMapPtr
std::shared_ptr< SpamFilterMap > SpamFilterMapPtr
Definition:
SpamFilterData.h:13
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
ArmarXCore
core
logging
SpamFilterData.h
Generated on Sat Oct 12 2024 09:14:01 for armarx_documentation by
1.8.17