mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Change include guard prefix to STA_CORE
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief CAN controller driver interface.
|
||||
*/
|
||||
#ifndef STA_CAN_CONTROLLER_HPP
|
||||
#define STA_CAN_CONTROLLER_HPP
|
||||
#ifndef STA_CORE_CAN_CONTROLLER_HPP
|
||||
#define STA_CORE_CAN_CONTROLLER_HPP
|
||||
|
||||
/**
|
||||
* @defgroup can CAN
|
||||
@@ -117,4 +117,4 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_CAN_CONTROLLER_HPP
|
||||
#endif // STA_CORE_CAN_CONTROLLER_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief CAN message filter types.
|
||||
*/
|
||||
#ifndef STA_CAN_FILTER_HPP
|
||||
#define STA_CAN_FILTER_HPP
|
||||
#ifndef STA_CORE_CAN_FILTER_HPP
|
||||
#define STA_CORE_CAN_FILTER_HPP
|
||||
|
||||
#include <sta/can/id.hpp>
|
||||
|
||||
@@ -46,4 +46,4 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_CAN_FILTER_HPP
|
||||
#endif // STA_CORE_CAN_FILTER_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief CAN frame headers.
|
||||
*/
|
||||
#ifndef STA_CAN_HEADERS_HPP
|
||||
#define STA_CAN_HEADERS_HPP
|
||||
#ifndef STA_CORE_CAN_HEADERS_HPP
|
||||
#define STA_CORE_CAN_HEADERS_HPP
|
||||
|
||||
#include <sta/can/id.hpp>
|
||||
|
||||
@@ -45,4 +45,4 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_CAN_HEADERS_HPP
|
||||
#endif // STA_CORE_CAN_HEADERS_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief CAN frame ID types.
|
||||
*/
|
||||
#ifndef STA_CAN_ID_HPP
|
||||
#define STA_CAN_ID_HPP
|
||||
#ifndef STA_CORE_CAN_ID_HPP
|
||||
#define STA_CORE_CAN_ID_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -115,4 +115,4 @@ namespace sta
|
||||
#define CAN_EID_MAX UINT32_C(0x3FFFF)
|
||||
|
||||
|
||||
#endif // STA_CAN_ID_HPP
|
||||
#endif // STA_CORE_CAN_ID_HPP
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef STA_CAN_ITER_HPP
|
||||
#define STA_CAN_ITER_HPP
|
||||
#ifndef STA_CORE_CAN_ITER_HPP
|
||||
#define STA_CORE_CAN_ITER_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -60,4 +60,4 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_CAN_ITER_HPP
|
||||
#endif // STA_CORE_CAN_ITER_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Subscription interface for CAN controller drivers.
|
||||
*/
|
||||
#ifndef STA_CAN_SUBSCRIBABLE_HPP
|
||||
#define STA_CAN_SUBSCRIBABLE_HPP
|
||||
#ifndef STA_CORE_CAN_SUBSCRIBABLE_HPP
|
||||
#define STA_CORE_CAN_SUBSCRIBABLE_HPP
|
||||
|
||||
#include <sta/can/filter.hpp>
|
||||
#include <sta/can/headers.hpp>
|
||||
@@ -101,4 +101,4 @@ namespace sta
|
||||
#include <sta/can/subscribable.tpp>
|
||||
|
||||
|
||||
#endif // STA_CAN_SUBSCRIBABLE_HPP
|
||||
#endif // STA_CORE_CAN_SUBSCRIBABLE_HPP
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* @brief Implementation of template class CanController<T>.
|
||||
*/
|
||||
#ifndef STA_CAN_SUBSCRIBABLE_TPP
|
||||
#define STA_CAN_SUBSCRIBABLE_TPP
|
||||
#ifndef STA_CORE_CAN_SUBSCRIBABLE_TPP
|
||||
#define STA_CORE_CAN_SUBSCRIBABLE_TPP
|
||||
|
||||
#ifndef STA_CAN_SUBSCRIBABLE_HPP
|
||||
#error "Direct use of internal header. Use <sta/intf/can/subscribable.hpp> instead"
|
||||
#endif // !STA_CAN_SUBSCRIBABLE_HPP
|
||||
#ifndef STA_CORE_CAN_SUBSCRIBABLE_HPP
|
||||
#error "Direct use of internal header. Use <sta/can/subscribable.hpp> instead"
|
||||
#endif // !STA_CORE_CAN_SUBSCRIBABLE_HPP
|
||||
|
||||
#ifndef STA_STDLIB_DISABLE
|
||||
# include <algorithm> // fill_n
|
||||
@@ -117,4 +117,4 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_CAN_SUBSCRIBABLE_TPP
|
||||
#endif // STA_CORE_CAN_SUBSCRIBABLE_TPP
|
||||
|
Reference in New Issue
Block a user