Line |
Branch |
Exec |
Source |
1 |
|
|
/////////////////////////////////////////////////////////////////////////////// |
2 |
|
|
// BSD 3-Clause License |
3 |
|
|
// |
4 |
|
|
// Copyright (C) 2019-2025, University of Edinburgh, Heriot-Watt University |
5 |
|
|
// Copyright note valid unless otherwise stated in individual files. |
6 |
|
|
// All rights reserved. |
7 |
|
|
/////////////////////////////////////////////////////////////////////////////// |
8 |
|
|
|
9 |
|
|
// Auto-generated file for float |
10 |
|
|
#include "crocoddyl/core/data-collector-base.hpp" |
11 |
|
|
|
12 |
|
|
#include "python/crocoddyl/core/core.hpp" |
13 |
|
|
|
14 |
|
|
namespace crocoddyl { |
15 |
|
|
namespace python { |
16 |
|
|
|
17 |
|
|
#define CROCODDYL_DATA_COLLECTOR_ABSTRACT_PYTHON_BINDINGS(Scalar) \ |
18 |
|
|
typedef DataCollectorAbstractTpl<Scalar> Data; \ |
19 |
|
|
bp::register_ptr_to_python<std::shared_ptr<Data>>(); \ |
20 |
|
|
bp::class_<Data>("DataCollectorAbstract", \ |
21 |
|
|
"Abstract class for common collection of data used in " \ |
22 |
|
|
"different objects in action model.\n\n") \ |
23 |
|
|
.def(CopyableVisitor<Data>()); |
24 |
|
|
|
25 |
|
✗ |
void exposeDataCollector() { |
26 |
|
✗ |
CROCODDYL_DATA_COLLECTOR_ABSTRACT_PYTHON_BINDINGS(float) |
27 |
|
|
} |
28 |
|
|
|
29 |
|
|
} // namespace python |
30 |
|
|
} // namespace crocoddyl |
31 |
|
|
|