mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 20:43:33 +08:00
uORB Subscription callbacks with WorkItem scheduling on publication (#12207)
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
namespace uORB
|
||||
{
|
||||
|
||||
class SubscriptionCallback;
|
||||
|
||||
// Base subscription wrapper class
|
||||
class Subscription
|
||||
{
|
||||
@@ -107,6 +109,10 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
friend class SubscriptionCallback;
|
||||
|
||||
DeviceNode *get_node() { return _node; }
|
||||
|
||||
bool subscribe();
|
||||
void unsubscribe();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user