mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 15:43:37 +08:00
UAVCAN_EXPORT
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
namespace uavcan
|
||||
{
|
||||
|
||||
class TimerBase;
|
||||
class UAVCAN_EXPORT TimerBase;
|
||||
|
||||
struct TimerEvent
|
||||
struct UAVCAN_EXPORT TimerEvent
|
||||
{
|
||||
MonotonicTime scheduled_time;
|
||||
MonotonicTime real_time;
|
||||
@@ -37,7 +37,7 @@ struct TimerEvent
|
||||
};
|
||||
|
||||
|
||||
class TimerBase : private DeadlineHandler
|
||||
class UAVCAN_EXPORT TimerBase : private DeadlineHandler
|
||||
{
|
||||
MonotonicDuration period_;
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
|
||||
|
||||
template <typename Callback_>
|
||||
class TimerEventForwarder : public TimerBase
|
||||
class UAVCAN_EXPORT TimerEventForwarder : public TimerBase
|
||||
{
|
||||
public:
|
||||
typedef Callback_ Callback;
|
||||
|
||||
Reference in New Issue
Block a user