Writer.h
Go to the documentation of this file.
1 /**
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @author Fabian Reister ( fabian dot reister at kit dot edu )
17  * @date 2021
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #pragma once
23 
26 
29 
31 {
32 
34  {
35  public:
37 
38 
39  bool store(const std::unordered_map<core::StackLayer, aron::data::DictPtr>& stack,
40  const std::string& clientID,
41  const armarx::core::time::DateTime& timestamp);
42 
43  std::string propertyPrefix() const override;
44  Properties defaultProperties() const override;
45 
46  protected:
47  private:
48  std::mutex writeMutex;
49  };
50 
51 } // namespace armarx::navigation::memory::client::param
armarx::navigation::memory::client::param::Writer
Definition: Writer.h:33
armarx::navigation::memory::client::param
This file is part of ArmarX.
Definition: Reader.cpp:5
armarx::navigation::memory::client::param::Writer::propertyPrefix
std::string propertyPrefix() const override
Definition: Writer.cpp:49
armarx::armem::client::util::SimpleWriterBase::Properties
Definition: SimpleWriterBase.h:49
armarx::navigation::memory::client::param::Writer::store
bool store(const std::unordered_map< core::StackLayer, aron::data::DictPtr > &stack, const std::string &clientID, const armarx::core::time::DateTime &timestamp)
Definition: Writer.cpp:12
constants.h
armarx::armem::client::util::SimpleWriterBase::SimpleWriterBase
SimpleWriterBase()
Definition: SimpleWriterBase.cpp:8
forward_declarations.h
armarx::armem::client::util::SimpleWriterBase
Definition: SimpleWriterBase.h:38
armarx::core::time::DateTime
Represents a point in time.
Definition: DateTime.h:24
armarx::navigation::memory::client::param::Writer::defaultProperties
Properties defaultProperties() const override
Definition: Writer.cpp:55
SimpleWriterBase.h
types.h