GCC Code Coverage Report


Directory: ./
File: src/feature/feature-task.cpp
Date: 2024-11-13 12:35:17
Exec Total Coverage
Lines: 0 6 0.0%
Branches: 0 4 0.0%

Line Branch Exec Source
1 /*
2 * Copyright 2010,
3 * François Bleibel,
4 * Olivier Stasse,
5 *
6 * CNRS/AIST
7 *
8 */
9
10 /* --------------------------------------------------------------------- */
11 /* --- INCLUDE --------------------------------------------------------- */
12 /* --------------------------------------------------------------------- */
13
14 /* --- SOT --- */
15 #include <dynamic-graph/pool.h>
16
17 #include <sot/core/debug.hh>
18 #include <sot/core/exception-feature.hh>
19 #include <sot/core/feature-task.hh>
20 #include <sot/core/task.hh>
21 using namespace std;
22 using namespace dynamicgraph::sot;
23 using namespace dynamicgraph;
24
25 #include <sot/core/factory.hh>
26 DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeatureTask, "FeatureTask");
27
28 /* --------------------------------------------------------------------- */
29 /* --- CLASS ----------------------------------------------------------- */
30 /* --------------------------------------------------------------------- */
31
32 FeatureTask::FeatureTask(const string &pointName) : FeatureGeneric(pointName) {}
33
34 /* --------------------------------------------------------------------- */
35 /* --------------------------------------------------------------------- */
36 /* --------------------------------------------------------------------- */
37
38 /* --------------------------------------------------------------------- */
39 /* --------------------------------------------------------------------- */
40 /* --------------------------------------------------------------------- */
41
42 void FeatureTask::display(std::ostream &os) const {
43 os << "Feature from task <" << getName();
44 if (taskPtr) os << ": from task " << taskPtr->getName();
45 os << std::endl;
46 }
47