template class ugcs::vsm::Mavlink_demuxer::Callback¶
Overview¶
Callback for specific Mavlink message with necessary payload building. More…
template <mavlink::MESSAGE_ID_TYPE message_id, class Extention_type> class Callback: public ugcs::vsm::Mavlink_demuxer::Callback_base { public: // typedefs typedef std::shared_ptr<Callback> Ptr; typedef std::weak_ptr<Callback> Weak_ptr; typedef mavlink::Message<message_id, Extention_type> Message_type; // construction Callback( Handler<message_id, Extention_type> handler, Request_processor::Ptr processor ); // methods template <typename... Args> static Ptr Create(Args&&... args); virtual void operator () ( Io_buffer::Ptr buffer, System_id system_id, uint8_t component_id, uint32_t request_id ); };
Detailed Documentation¶
Callback for specific Mavlink message with necessary payload building.
Typedefs¶
typedef std::shared_ptr<Callback> Ptr
Pointer type.
typedef std::weak_ptr<Callback> Weak_ptr
Pointer type.
typedef mavlink::Message<message_id, Extention_type> Message_type
Specific message type of this callback.
Methods¶
template <typename... Args> static Ptr Create(Args&&... args)
Create an instance.