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
PJ::DataStreamer::setMaximumRangeX
void setMaximumRangeX(double range)
Definition: datastreamer_base.cpp:12
PJ::DataStreamer::_parser_factories
ParserFactories * _parser_factories
Definition: datastreamer_base.h:107
PJ::DataStreamer::parserFactories
const ParserFactories * parserFactories() const
Definition: datastreamer_base.cpp:34
PJ::DataStreamer::setParserFactories
void setParserFactories(ParserFactories *parsers)
Definition: datastreamer_base.cpp:29
PJ::ParserFactories
std::map< QString, std::shared_ptr< ParserFactoryPlugin > > ParserFactories
Definition: messageparser_base.h:157
PJ
Definition: dataloader_base.h:16
datastreamer_base.h


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44