34 #ifndef _uORBKraitFastRpcChannel_hpp_ 35 #define _uORBKraitFastRpcChannel_hpp_ 47 class KraitFastRpcChannel;
114 virtual int16_t
add_subscription(
const char *messageName, int32_t msgRateInHz);
154 virtual int16_t
send_message(
const char *messageName, int32_t length, uint8_t *
data);
std::map< std::string, int32_t > _AdspSubscriberCache
virtual int16_t send_message(const char *messageName, int32_t length, uint8_t *data)
Sends the data message over the communication link.
uORBCommunicator::IChannelRxHandler * _RxHandler
static const int32_t _CONTROL_MSG_TYPE_REMOVE_SUBSCRIBER
static bool isInstance()
Static method to check if there is an instance.
High-resolution timer with callouts and timekeeping.
virtual int16_t register_handler(uORBCommunicator::IChannelRxHandler *handler)
Register Message Handler.
static const int32_t _CONTROL_MSG_TYPE_UNADVERTISE
static uORB::KraitFastRpcChannel * GetInstance()
static method to get the IChannel Implementor.
static void * thread_start(void *handler)
virtual int16_t topic_advertised(const char *messageName)
Interface to notify the remote entity of a topic being advertised.
static uORB::KraitFastRpcChannel * _InstancePtr
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
Class passed to the communication link implement to provide callback for received messages over a cha...
static const int32_t _CONTROL_MSG_TYPE_ADVERTISE
void fastrpc_recv_thread()
px4muorb::KraitRpcWrapper _KraitWrapper
static const int32_t _DATA_MSG_TYPE
virtual int16_t add_subscription(const char *messageName, int32_t msgRateInHz)
Interface to notify the remote entity of interest of a subscription for a message.
virtual int16_t topic_unadvertised(const char *messageName)
Interface to notify the remote entity of a topic being unadvertised and is no longer publishing messa...
Interface to enable remote subscriptions.
KraitFastRpcChannel()
constructor.
std::map< std::string, hrt_abstime > _AdspSubscriberSampleTimestamp
static const hrt_abstime _SubCacheRefreshRate
virtual int16_t remove_subscription(const char *messageName)
Interface to notify the remote entity of removal of a subscription.
static const int32_t _CONTROL_MSG_TYPE_ADD_SUBSCRIBER