@ -59,6 +59,8 @@ public:
static ssize_t publish ( const orb_metadata * meta , orb_advert_t handle , const void * data ) ;
static ssize_t publish ( const orb_metadata * meta , orb_advert_t handle , const void * data ) ;
static int unadvertise ( orb_advert_t handle ) ;
/**
/**
* processes a request for add subscription from remote
* processes a request for add subscription from remote
* @ param rateInHz
* @ param rateInHz
@ -122,7 +124,8 @@ private:
uint8_t * _data ; /**< allocated object buffer */
uint8_t * _data ; /**< allocated object buffer */
hrt_abstime _last_update ; /**< time the object was last updated */
hrt_abstime _last_update ; /**< time the object was last updated */
volatile unsigned _generation ; /**< object generation count */
volatile unsigned _generation ; /**< object generation count */
unsigned long _publisher ; /**< if nonzero, current publisher */
unsigned long _publisher ; /**< if nonzero, current publisher. Only used inside the advertise call.
We allow one publisher to have an open file descriptor at the same time . */
const int _priority ; /**< priority of topic */
const int _priority ; /**< priority of topic */
bool _published ; /**< has ever data been published */
bool _published ; /**< has ever data been published */