Skip to content

Commit 3b9e412

Browse files
florent-lamirauxolivier-stasse
authored andcommitted
Add fwd.hh header.
1 parent 6dfbcf5 commit 3b9e412

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ ADD_PROJECT_DEPENDENCY(sot-core REQUIRED)
5757

5858
# Main Library
5959
set(${PROJECT_NAME}_HEADERS
60+
include/${PROJECT_NAME}/fwd.hh
6061
include/${PROJECT_NAME}/ros_init.hh
6162
include/${PROJECT_NAME}/sot_loader.hh
6263
include/${PROJECT_NAME}/sot_loader_basic.hh

include/dynamic_graph_bridge/fwd.hh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright CNRS 2021
3+
*
4+
* Author: Florent Lamiraux
5+
*
6+
* This file is part of sot-core.
7+
*/
8+
9+
#ifndef DYNAMIC_GRAPH_BRIDGE_FWD_HH
10+
#define DYNAMIC_GRAPH_BRIDGE_FWD_HH
11+
12+
#include <dynamic-graph/python/fwd.hh>
13+
14+
namespace dynamicgraph {
15+
// classes defined in sot-core
16+
class Interpreter;
17+
typedef shared_ptr<Interpreter> InterpreterPtr_t;
18+
}// namespace dynamicgraph
19+
20+
#endif // DYNAMIC_GRAPH_PYTHON_FWD_HH

include/dynamic_graph_bridge/ros_interpreter.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <ros/ros.h>
66
#pragma GCC diagnostic pop
77

8+
#include <dynamic_graph_bridge/fwd.hh>
89
#include <dynamic_graph_bridge_msgs/RunCommand.h>
910
#include <dynamic_graph_bridge_msgs/RunPythonFile.h>
1011
#include <dynamic-graph/python/interpreter.hh>

0 commit comments

Comments
 (0)