mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 03:01:36 +08:00
Some more renamings: marshalling --> marshal
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <uavcan/internal/transport/crc.hpp>
|
#include <uavcan/internal/transport/crc.hpp>
|
||||||
#include <uavcan/internal/transport/transfer.hpp>
|
#include <uavcan/internal/transport/transfer.hpp>
|
||||||
#include <uavcan/internal/marshalling/types.hpp>
|
#include <uavcan/internal/marshal/types.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#include <uavcan/internal/impl_constants.hpp>
|
#include <uavcan/internal/impl_constants.hpp>
|
||||||
#include <uavcan/internal/util.hpp>
|
#include <uavcan/internal/util.hpp>
|
||||||
#include <uavcan/internal/marshalling/type_util.hpp>
|
#include <uavcan/internal/marshal/type_util.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
{
|
{
|
||||||
+2
-2
@@ -8,8 +8,8 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
#include <math.h> // Needed for isfinite
|
#include <math.h> // Needed for isfinite
|
||||||
#include <uavcan/internal/util.hpp>
|
#include <uavcan/internal/util.hpp>
|
||||||
#include <uavcan/internal/marshalling/type_util.hpp>
|
#include <uavcan/internal/marshal/type_util.hpp>
|
||||||
#include <uavcan/internal/marshalling/integer_spec.hpp>
|
#include <uavcan/internal/marshal/integer_spec.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
{
|
{
|
||||||
+2
-2
@@ -7,8 +7,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <uavcan/internal/util.hpp>
|
#include <uavcan/internal/util.hpp>
|
||||||
#include <uavcan/internal/marshalling/scalar_codec.hpp>
|
#include <uavcan/internal/marshal/scalar_codec.hpp>
|
||||||
#include <uavcan/internal/marshalling/type_util.hpp>
|
#include <uavcan/internal/marshal/type_util.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
{
|
{
|
||||||
+1
-1
@@ -9,7 +9,7 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <uavcan/internal/util.hpp>
|
#include <uavcan/internal/util.hpp>
|
||||||
#include <uavcan/internal/marshalling/bit_stream.hpp>
|
#include <uavcan/internal/marshal/bit_stream.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
{
|
{
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <uavcan/internal/marshal/integer_spec.hpp>
|
||||||
|
#include <uavcan/internal/marshal/float_spec.hpp>
|
||||||
|
#include <uavcan/internal/marshal/array.hpp>
|
||||||
|
#include <uavcan/internal/marshal/type_util.hpp>
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <uavcan/internal/marshalling/integer_spec.hpp>
|
|
||||||
#include <uavcan/internal/marshalling/float_spec.hpp>
|
|
||||||
#include <uavcan/internal/marshalling/array.hpp>
|
|
||||||
#include <uavcan/internal/marshalling/type_util.hpp>
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <uavcan/internal/marshalling/bit_stream.hpp>
|
#include <uavcan/internal/marshal/bit_stream.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
{
|
{
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <uavcan/internal/marshalling/float_spec.hpp>
|
#include <uavcan/internal/marshal/float_spec.hpp>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <uavcan/internal/marshalling/types.hpp>
|
#include <uavcan/internal/marshal/types.hpp>
|
||||||
|
|
||||||
using uavcan::Array;
|
using uavcan::Array;
|
||||||
using uavcan::ArrayModeDynamic;
|
using uavcan::ArrayModeDynamic;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <uavcan/internal/marshalling/bit_stream.hpp>
|
#include <uavcan/internal/marshal/bit_stream.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(BitStream, ToString)
|
TEST(BitStream, ToString)
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <uavcan/internal/marshalling/types.hpp>
|
#include <uavcan/internal/marshal/types.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(FloatSpec, Limits)
|
TEST(FloatSpec, Limits)
|
||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <uavcan/internal/marshalling/types.hpp>
|
#include <uavcan/internal/marshal/types.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(IntegerSpec, Limits)
|
TEST(IntegerSpec, Limits)
|
||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <uavcan/internal/marshalling/scalar_codec.hpp>
|
#include <uavcan/internal/marshal/scalar_codec.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(ScalarCodec, Basic)
|
TEST(ScalarCodec, Basic)
|
||||||
Reference in New Issue
Block a user