datastreamer_base.cpp
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
5  */
6 
8 
9 namespace PJ
10 {
11 
13 {
14  std::lock_guard<std::mutex> lock(mutex());
15  for (auto& it : dataMap().numeric)
16  {
17  it.second.setMaximumRangeX(range);
18  }
19  for (auto& it : dataMap().strings)
20  {
21  it.second.setMaximumRangeX(range);
22  }
23  for (auto& it : dataMap().user_defined)
24  {
25  it.second.setMaximumRangeX(range);
26  }
27 }
28 
30 {
31  _parser_factories = parsers;
32 }
33 
35 {
36  return _parser_factories;
37 }
38 
39 } // namespace PJ
std::map< QString, std::shared_ptr< ParserFactoryPlugin > > ParserFactories
void setParserFactories(ParserFactories *parsers)
void setMaximumRangeX(double range)
ParserFactories * _parser_factories
const ParserFactories * parserFactories() const


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:02