mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:08:52 +08:00
Moved List.hpp from controllib to src/include/containers.
This commit is contained in:
@@ -32,9 +32,9 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file Node.h
|
* @file List.hpp
|
||||||
*
|
*
|
||||||
* A node of a linked list.
|
* A linked list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
@@ -43,7 +43,7 @@ template<class T>
|
|||||||
class __EXPORT ListNode
|
class __EXPORT ListNode
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ListNode() : _sibling(NULL) {
|
ListNode() : _sibling(nullptr) {
|
||||||
}
|
}
|
||||||
void setSibling(T sibling) { _sibling = sibling; }
|
void setSibling(T sibling) { _sibling = sibling; }
|
||||||
T getSibling() { return _sibling; }
|
T getSibling() { return _sibling; }
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include "List.hpp"
|
#include <containers/List.hpp>
|
||||||
|
|
||||||
// forward declaration
|
// forward declaration
|
||||||
namespace uORB {
|
namespace uORB {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
#include <systemlib/param/param.h>
|
#include <systemlib/param/param.h>
|
||||||
|
|
||||||
#include "Block.hpp"
|
#include "Block.hpp"
|
||||||
#include "List.hpp"
|
#include <containers/List.hpp>
|
||||||
|
|
||||||
namespace control
|
namespace control
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <uORB/uORB.h>
|
#include <uORB/uORB.h>
|
||||||
#include <controllib/block/List.hpp>
|
#include <containers/List.hpp>
|
||||||
|
|
||||||
|
|
||||||
namespace uORB
|
namespace uORB
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <uORB/uORB.h>
|
#include <uORB/uORB.h>
|
||||||
#include <controllib/block/List.hpp>
|
#include <containers/List.hpp>
|
||||||
|
|
||||||
|
|
||||||
namespace uORB
|
namespace uORB
|
||||||
|
|||||||
Reference in New Issue
Block a user