|
Firmware
|
Publication wrapper class. More...
#include <Publication.hpp>
Public Member Functions | |
| Publication (const struct orb_metadata *meta, int priority=-1, List< PublicationNode *> *list=nullptr) | |
| Constructor. More... | |
| Publication (const Publication &)=delete | |
| Publication & | operator= (const Publication &)=delete |
| Publication (Publication &&)=delete | |
| Publication & | operator= (Publication &&)=delete |
| T & | get () |
| bool | update () override |
| Create an update function that uses the embedded struct. | |
| bool | update (const T &data) |
Public Member Functions inherited from uORB::PublicationNode | |
| PublicationNode (const struct orb_metadata *meta, int priority=-1, List< PublicationNode *> *list=nullptr) | |
| Constructor. More... | |
Public Member Functions inherited from uORB::PublicationBase | |
| PublicationBase (const struct orb_metadata *meta, int priority=-1) | |
| Constructor. More... | |
| PublicationBase (const PublicationBase &)=delete | |
| PublicationBase & | operator= (const PublicationBase &)=delete |
| PublicationBase (PublicationBase &&)=delete | |
| PublicationBase & | operator= (PublicationBase &&)=delete |
| bool | update (void *data) |
| Update the struct. More... | |
Public Member Functions inherited from ListNode< PublicationNode *> | |
| void | setSibling (PublicationNode * sibling) |
| const PublicationNode * | getSibling () const |
Additional Inherited Members | |
Protected Attributes inherited from uORB::PublicationBase | |
| const struct orb_metadata * | _meta |
| const int | _priority |
| orb_advert_t | _handle {nullptr} |
Protected Attributes inherited from ListNode< PublicationNode *> | |
| PublicationNode * | _sibling |
Publication wrapper class.
|
inline |
Constructor.
| meta | The uORB metadata (usually from the ORB_ID() macro) for the topic. |
| priority | The priority for multi pub, 0-based. |
| list | A list interface for adding to list during construction |
1.8.12