GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: bindings/python/crocoddyl/core/data-collector-base.cpp Lines: 5 5 100.0 %
Date: 2024-02-13 11:12:33 Branches: 3 6 50.0 %

Line Branch Exec Source
1
///////////////////////////////////////////////////////////////////////////////
2
// BSD 3-Clause License
3
//
4
// Copyright (C) 2019-2023, University of Edinburgh, Heriot-Watt University
5
// Copyright note valid unless otherwise stated in individual files.
6
// All rights reserved.
7
///////////////////////////////////////////////////////////////////////////////
8
9
#include "crocoddyl/core/data-collector-base.hpp"
10
11
#include "python/crocoddyl/core/core.hpp"
12
#include "python/crocoddyl/utils/copyable.hpp"
13
14
namespace crocoddyl {
15
namespace python {
16
17
10
void exposeDataCollector() {
18
10
  bp::class_<DataCollectorAbstract>(
19
      "DataCollectorAbstract",
20
      "Abstract class for common collection of data used in different objects "
21
      "in action model.\n\n",
22
20
      bp::init<>(bp::args("self")))
23
10
      .def(CopyableVisitor<DataCollectorAbstract>());
24
10
}
25
26
}  // namespace python
27
}  // namespace crocoddyl