data_exporter_interface.cpp
Go to the documentation of this file.
1 /*********************************************************************
2  *
3  * Software License Agreement
4  *
5  * Copyright (c) 2020,
6  * TU Dortmund - Institute of Control Theory and Systems Engineering.
7  * All rights reserved.
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <https://www.gnu.org/licenses/>.
21  *
22  * Authors: Christoph Rösmann
23  *********************************************************************/
24 
26 
27 #include <corbo-core/console.h>
28 
29 namespace corbo {
30 
32 {
33  PRINT_ERROR_NAMED("SignalGroup is not supported for export.");
34  return false;
35 }
36 
38 {
39  PRINT_ERROR_NAMED("TimeSeriesSignal is not supported for export.");
40  return false;
41 }
42 
43 bool DataExporterInterface::exportTimeSeries(const std::string& filename, const TimeSeries& time_series)
44 {
45  PRINT_ERROR_NAMED("TimeSeries is not supported for export.");
46  return false;
47 }
48 
50 {
51  PRINT_ERROR_NAMED("TimeSeriesSequenceSignal is not supported for export.");
52  return false;
53 }
54 
56 {
57  PRINT_ERROR_NAMED("IndexedValuesSignal is not supported for export.");
58  return false;
59 }
60 
62 {
63  PRINT_ERROR_NAMED("IndexedValuesSetSignal is not supported for export.");
64  return false;
65 }
66 
67 bool DataExporterInterface::exportMatrixSignal(const std::string& filename, const MatrixSignal& signal)
68 {
69  PRINT_ERROR_NAMED("MatrixSignal is not supported for export.");
70  return false;
71 }
72 
74 {
75  PRINT_ERROR_NAMED("MatrixSetSignal is not supported for export.");
76  return false;
77 }
78 
79 } // namespace corbo
#define PRINT_ERROR_NAMED(msg)
Definition: console.h:260
Signal for a sequence of time series objects.
Definition: signals.h:333
Time Series (trajectory resp. sequence of values w.r.t. time)
Definition: time_series.h:54
virtual bool exportSignalGroup(const std::string &filename, const CommonSignalTarget::SignalGroup &signal_group)
virtual bool exportIndexedValuesSetSignal(const std::string &filename, const IndexedValuesSetSignal &signal)
Signal containing a set of matrices.
Definition: signals.h:607
virtual bool exportTimeSeriesSignal(const std::string &filename, const TimeSeriesSignal &signal)
virtual bool exportTimeSeries(const std::string &filename, const TimeSeries &time_series)
Signal containing values indexed by a single integer.
Definition: signals.h:390
virtual bool exportMatrixSetSignal(const std::string &filename, const MatrixSetSignal &signal)
Time Series signal (trajectory resp. sequence of values w.r.t. time)
Definition: signals.h:244
Signal containing a simple matrix.
Definition: signals.h:539
virtual bool exportMatrixSignal(const std::string &filename, const MatrixSignal &signal)
virtual bool exportIndexedValuesSignal(const std::string &filename, const IndexedValuesSignal &signal)
Tree node containing a group of signals and a set of child tree nodes.
virtual bool exportTimeSeriesSequenceSignal(const std::string &filename, const TimeSeriesSequenceSignal &signal)
Signal containing values indexed by an integer (int to double[] map)
Definition: signals.h:474


control_box_rst
Author(s): Christoph Rösmann
autogenerated on Mon Feb 28 2022 22:06:50