Skip to content

Commit

Permalink
Normalize include paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed Sep 26, 2020
1 parent 600102e commit c1756f3
Show file tree
Hide file tree
Showing 686 changed files with 3,321 additions and 3,320 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ INCLUDE(config/rtt_macros.cmake)
###########################################################

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
ADD_SUBDIRECTORY(rtt)
ADD_SUBDIRECTORY(doc)
ADD_SUBDIRECTORY(tests)
Expand Down Expand Up @@ -154,7 +155,7 @@ set(IMPORTED_TARGET_PREFIX "imported_") # Prefix used in other projects to disti
# Main package configuration file + target specific file
CONFIGURE_FILE(orocos-rtt-config.cmake.in
orocos-rtt-config-${OROCOS_TARGET}.cmake @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/orocos-rtt-config.cmake
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/orocos-rtt-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/orocos-rtt-config-${OROCOS_TARGET}.cmake
DESTINATION "${CONFIG_FILE_PATH}")

Expand Down
14 changes: 7 additions & 7 deletions rtt/Activity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
#ifdef ORO_PRAGMA_INTERFACE
#pragma implementation
#endif
#include "Time.hpp"
#include "Activity.hpp"
#include "os/MutexLock.hpp"
#include "os/traces.h"
#include "Logger.hpp"
#include "rtt-fwd.hpp"
#include "os/fosi_internal_interface.hpp"
#include "rtt/Time.hpp"
#include "rtt/Activity.hpp"
#include "rtt/os/MutexLock.hpp"
#include "rtt/os/traces.h"
#include "rtt/Logger.hpp"
#include "rtt/rtt-fwd.hpp"
#include "rtt/os/fosi_internal_interface.hpp"

#include <cmath>

Expand Down
12 changes: 6 additions & 6 deletions rtt/Activity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
#ifndef ORO_ACTIVITY_HPP
#define ORO_ACTIVITY_HPP

#include "Time.hpp"
#include "base/RunnableInterface.hpp"
#include "base/ActivityInterface.hpp"
#include "os/Thread.hpp"
#include "os/Mutex.hpp"
#include "os/Condition.hpp"
#include "rtt/Time.hpp"
#include "rtt/base/RunnableInterface.hpp"
#include "rtt/base/ActivityInterface.hpp"
#include "rtt/os/Thread.hpp"
#include "rtt/os/Mutex.hpp"
#include "rtt/os/Condition.hpp"

namespace RTT
{
Expand Down
2 changes: 1 addition & 1 deletion rtt/ArgumentDescription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
***************************************************************************/


#include "ArgumentDescription.hpp"
#include "rtt/ArgumentDescription.hpp"

using namespace RTT;

Expand Down
2 changes: 1 addition & 1 deletion rtt/ArgumentDescription.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#define ARGUMENTDESCRIPTION_HPP

#include <string>
#include "rtt-config.h"
#include "rtt/rtt-config.h"

namespace RTT
{
Expand Down
4 changes: 2 additions & 2 deletions rtt/Attribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
***************************************************************************/


#include "Attribute.hpp"
#include "rtt-fwd.hpp"
#include "rtt/Attribute.hpp"
#include "rtt/rtt-fwd.hpp"

namespace RTT
{
Expand Down
6 changes: 3 additions & 3 deletions rtt/Attribute.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
#ifndef ORO_CORELIB_ATTRIBUTE_HPP
#define ORO_CORELIB_ATTRIBUTE_HPP

#include "internal/DataSource.hpp"
#include "internal/DataSources.hpp"
#include "base/AttributeBase.hpp"
#include "rtt/internal/DataSource.hpp"
#include "rtt/internal/DataSources.hpp"
#include "rtt/base/AttributeBase.hpp"

namespace RTT
{
Expand Down
2 changes: 1 addition & 1 deletion rtt/BufferPolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* *
***************************************************************************/

#include "BufferPolicy.hpp"
#include "rtt/BufferPolicy.hpp"
#include <iostream>

namespace RTT {
Expand Down
2 changes: 1 addition & 1 deletion rtt/BufferPolicy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#ifndef ORO_BUFFER_POLICY_HPP
#define ORO_BUFFER_POLICY_HPP

#include "rtt-config.h"
#include "rtt/rtt-config.h"
#include <iosfwd>

namespace RTT {
Expand Down
8 changes: 4 additions & 4 deletions rtt/Component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
#include <string>
#include <map>
#include <vector>
#include "rtt-fwd.hpp"
#include "rtt-config.h"
#include "rtt/rtt-fwd.hpp"
#include "rtt/rtt-config.h"

namespace RTT
{
Expand Down Expand Up @@ -126,7 +126,7 @@ namespace RTT
* You can only use this macro \b once in a .cpp file for the whole shared library \b and
* you may \b not link with another component library when using this macro. Use
* ORO_CREATE_COMPONENT_LIBRARY if you are in that situation.
*
*
* It adds a function 'createComponent', which will return a new instance of
* the library's component type and a function 'getComponentType', which returns
* the type (namespace::class) name of the component.
Expand All @@ -153,7 +153,7 @@ extern "C" { \

/**
* Use this macro to create a component library which contains all components listed with
* ORO_LIST_COMPONENT_TYPE.
* ORO_LIST_COMPONENT_TYPE.
*
* It will add to your library an extern "C" function 'createComponentType' which can create a component of
* each class added with ORO_LIST_COMPONENT_TYPE.
Expand Down
4 changes: 2 additions & 2 deletions rtt/ConfigurationInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@



#include "ConfigurationInterface.hpp"
#include "internal/mystd.hpp"
#include "rtt/ConfigurationInterface.hpp"
#include "rtt/internal/mystd.hpp"
#include <functional>
#include <boost/bind.hpp>

Expand Down
10 changes: 5 additions & 5 deletions rtt/ConfigurationInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@

#include <memory>
#include <map>
#include "Attribute.hpp"
#include "internal/DataSources.hpp"
#include "base/DataObjectInterface.hpp"
#include "Property.hpp"
#include "PropertyBag.hpp"
#include "rtt/Attribute.hpp"
#include "rtt/internal/DataSources.hpp"
#include "rtt/base/DataObjectInterface.hpp"
#include "rtt/Property.hpp"
#include "rtt/PropertyBag.hpp"

namespace RTT
{
Expand Down
6 changes: 3 additions & 3 deletions rtt/ConnPolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
* Author: kaltan
*/

#include "ConnPolicy.hpp"
#include "Property.hpp"
#include "PropertyBag.hpp"
#include "rtt/ConnPolicy.hpp"
#include "rtt/Property.hpp"
#include "rtt/PropertyBag.hpp"

#include <boost/lexical_cast.hpp>
#include <iostream>
Expand Down
6 changes: 3 additions & 3 deletions rtt/ConnPolicy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@

#include <string>
#include <iosfwd>
#include "rtt-fwd.hpp"
#include "rtt-config.h"
#include "BufferPolicy.hpp"
#include "rtt/rtt-fwd.hpp"
#include "rtt/rtt-config.h"
#include "rtt/BufferPolicy.hpp"

namespace RTT {

Expand Down
8 changes: 4 additions & 4 deletions rtt/DataFlowInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
***************************************************************************/


#include "DataFlowInterface.hpp"
#include "Logger.hpp"
#include "Service.hpp"
#include "TaskContext.hpp"
#include "rtt/DataFlowInterface.hpp"
#include "rtt/Logger.hpp"
#include "rtt/Service.hpp"
#include "rtt/TaskContext.hpp"

namespace RTT
{
Expand Down
6 changes: 3 additions & 3 deletions rtt/DataFlowInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
#include <vector>
#include <map>
#include <string>
#include "base/InputPortInterface.hpp"
#include "base/OutputPortInterface.hpp"
#include "rtt-fwd.hpp"
#include "rtt/base/InputPortInterface.hpp"
#include "rtt/base/OutputPortInterface.hpp"
#include "rtt/rtt-fwd.hpp"
#include <boost/function.hpp>

namespace RTT
Expand Down
20 changes: 10 additions & 10 deletions rtt/ExecutionEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@



#include "Logger.hpp"
#include "ExecutionEngine.hpp"
#include "base/TaskCore.hpp"
#include "rtt-fwd.hpp"
#include "os/MutexLock.hpp"
#include "internal/MWSRQueue.hpp"
#include "TaskContext.hpp"
#include "internal/CatchConfig.hpp"
#include "extras/SlaveActivity.hpp"
#include "os/traces.h"
#include "rtt/Logger.hpp"
#include "rtt/ExecutionEngine.hpp"
#include "rtt/base/TaskCore.hpp"
#include "rtt/rtt-fwd.hpp"
#include "rtt/os/MutexLock.hpp"
#include "rtt/internal/MWSRQueue.hpp"
#include "rtt/TaskContext.hpp"
#include "rtt/internal/CatchConfig.hpp"
#include "rtt/extras/SlaveActivity.hpp"
#include "rtt/os/traces.h"

#include <boost/bind.hpp>
#include <algorithm>
Expand Down
20 changes: 10 additions & 10 deletions rtt/ExecutionEngine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@
#ifndef ORO_EXECUTION_ENGINE_HPP
#define ORO_EXECUTION_ENGINE_HPP

#include "os/Mutex.hpp"
#include "os/MutexLock.hpp"
#include "os/Condition.hpp"
#include "base/RunnableInterface.hpp"
#include "base/ActivityInterface.hpp"
#include "base/DisposableInterface.hpp"
#include "base/ExecutableInterface.hpp"
#include "internal/List.hpp"
#include "rtt/os/Mutex.hpp"
#include "rtt/os/MutexLock.hpp"
#include "rtt/os/Condition.hpp"
#include "rtt/base/RunnableInterface.hpp"
#include "rtt/base/ActivityInterface.hpp"
#include "rtt/base/DisposableInterface.hpp"
#include "rtt/base/ExecutableInterface.hpp"
#include "rtt/internal/List.hpp"
#include <vector>
#include <boost/function.hpp>

#include "rtt-config.h"
#include "internal/rtt-internal-fwd.hpp"
#include "rtt/rtt-config.h"
#include "rtt/internal/rtt-internal-fwd.hpp"

namespace RTT
{
Expand Down
2 changes: 1 addition & 1 deletion rtt/FactoryExceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
***************************************************************************/


#include "FactoryExceptions.hpp"
#include "rtt/FactoryExceptions.hpp"
#include <sstream>

namespace RTT {
Expand Down
2 changes: 1 addition & 1 deletion rtt/FactoryExceptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#include <string>
#include <exception>
#include "rtt-config.h"
#include "rtt/rtt-config.h"

/**
* \file FactoryExceptions.hpp This file contains some structs that can be thrown by both
Expand Down
2 changes: 1 addition & 1 deletion rtt/FlowStatus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
***************************************************************************/


#include "FlowStatus.hpp"
#include "rtt/FlowStatus.hpp"
#include <string>

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion rtt/FlowStatus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <ostream>
#include <istream>

#include "rtt-config.h"
#include "rtt/rtt-config.h"

namespace RTT {
/**
Expand Down
4 changes: 2 additions & 2 deletions rtt/Handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
***************************************************************************/


#include "Handle.hpp"
#include "rtt-fwd.hpp"
#include "rtt/Handle.hpp"
#include "rtt/rtt-fwd.hpp"


namespace RTT {
Expand Down
2 changes: 1 addition & 1 deletion rtt/Handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#ifndef ORO_CORELIB_SIGNAL_HANDLE_HPP
#define ORO_CORELIB_SIGNAL_HANDLE_HPP

#include "internal/SignalBase.hpp"
#include "rtt/internal/SignalBase.hpp"

namespace RTT
{
Expand Down
12 changes: 6 additions & 6 deletions rtt/InputPort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
#ifndef ORO_INPUT_PORT_HPP
#define ORO_INPUT_PORT_HPP

#include "base/InputPortInterface.hpp"
#include "internal/Channels.hpp"
#include "internal/InputPortSource.hpp"
#include "Service.hpp"
#include "OperationCaller.hpp"
#include "rtt/base/InputPortInterface.hpp"
#include "rtt/internal/Channels.hpp"
#include "rtt/internal/InputPortSource.hpp"
#include "rtt/Service.hpp"
#include "rtt/OperationCaller.hpp"

#include "OutputPort.hpp"
#include "rtt/OutputPort.hpp"

namespace RTT
{
Expand Down
16 changes: 8 additions & 8 deletions rtt/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@

// to retrieve RTAI version, if any.
//#define OROBLD_OS_LXRT_INTERNAL
#include "os/StartStopManager.hpp"
#include "os/MutexLock.hpp"
#include "os/Mutex.hpp"
#include "os/TimeService.hpp"
#include "rtt/os/StartStopManager.hpp"
#include "rtt/os/MutexLock.hpp"
#include "rtt/os/Mutex.hpp"
#include "rtt/os/TimeService.hpp"

#include "Logger.hpp"
#include "rtt/Logger.hpp"
#include <iomanip>

#ifdef OROSEM_PRINTF_LOGGING
Expand All @@ -57,13 +57,13 @@
# endif
# endif
# ifdef OROSEM_REMOTE_LOGGING
# include "base/BufferLockFree.hpp"
#include "rtt/base/BufferLockFree.hpp"
# endif
#endif

#include <stdlib.h>
#include "rtt-config.h"
#include "rtt-fwd.hpp"
#include "rtt/rtt-config.h"
#include "rtt/rtt-fwd.hpp"

namespace RTT
{
Expand Down
Loading

0 comments on commit c1756f3

Please sign in to comment.