mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:23:33 +08:00
UAVCAN_EXPORT
This commit is contained in:
@@ -18,7 +18,7 @@ namespace uavcan
|
||||
* Raw CAN frame, as passed to/from the CAN driver.
|
||||
*/
|
||||
UAVCAN_PACKED_BEGIN
|
||||
struct CanFrame
|
||||
struct UAVCAN_EXPORT CanFrame
|
||||
{
|
||||
static const uint32_t MaskStdID = 0x000007FF;
|
||||
static const uint32_t MaskExtID = 0x1FFFFFFF;
|
||||
@@ -74,7 +74,7 @@ UAVCAN_PACKED_END
|
||||
/**
|
||||
* CAN hardware filter config struct. @ref ICanIface::configureFilters().
|
||||
*/
|
||||
struct CanFilterConfig
|
||||
struct UAVCAN_EXPORT CanFilterConfig
|
||||
{
|
||||
uint32_t id;
|
||||
uint32_t mask;
|
||||
@@ -83,7 +83,7 @@ struct CanFilterConfig
|
||||
/**
|
||||
* Events to look for during @ref ICanDriver::select() call
|
||||
*/
|
||||
struct CanSelectMasks
|
||||
struct UAVCAN_EXPORT CanSelectMasks
|
||||
{
|
||||
uint8_t read;
|
||||
uint8_t write;
|
||||
@@ -103,7 +103,7 @@ typedef uint16_t CanIOFlags;
|
||||
/**
|
||||
* Single non-blocking CAN interface.
|
||||
*/
|
||||
class ICanIface
|
||||
class UAVCAN_EXPORT ICanIface
|
||||
{
|
||||
public:
|
||||
virtual ~ICanIface() { }
|
||||
@@ -150,7 +150,7 @@ public:
|
||||
/**
|
||||
* Generic CAN driver.
|
||||
*/
|
||||
class ICanDriver
|
||||
class UAVCAN_EXPORT ICanDriver
|
||||
{
|
||||
public:
|
||||
virtual ~ICanDriver() { }
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace uavcan
|
||||
/**
|
||||
* System clock interface - monotonic and UTC.
|
||||
*/
|
||||
class ISystemClock
|
||||
class UAVCAN_EXPORT ISystemClock
|
||||
{
|
||||
public:
|
||||
virtual ~ISystemClock() { }
|
||||
|
||||
Reference in New Issue
Block a user