PX4 Firmware
PX4 Autopilot Software http://px4.io
MavlinkStreamCameraTrigger Class Reference
Inheritance diagram for MavlinkStreamCameraTrigger:
Collaboration diagram for MavlinkStreamCameraTrigger:

Public Member Functions

const char * get_name () const override
 
uint16_t get_id () override
 
bool const_rate () override
 
unsigned get_size () override
 Get maximal total messages size on update. More...
 
- Public Member Functions inherited from ListNode< MavlinkStream *>
void setSibling (MavlinkStream * sibling)
 
const MavlinkStreamgetSibling () const
 

Static Public Member Functions

static const char * get_name_static ()
 
static uint16_t get_id_static ()
 
static MavlinkStreamnew_instance (Mavlink *mavlink)
 

Protected Member Functions

 MavlinkStreamCameraTrigger (Mavlink *mavlink)
 
bool send (const hrt_abstime t) override
 

Private Member Functions

 MavlinkStreamCameraTrigger (MavlinkStreamCameraTrigger &)=delete
 
MavlinkStreamCameraTriggeroperator= (const MavlinkStreamCameraTrigger &)=delete
 

Private Attributes

MavlinkOrbSubscription_trigger_sub
 
uint64_t _trigger_time
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 2115 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamCameraTrigger() [1/2]

MavlinkStreamCameraTrigger::MavlinkStreamCameraTrigger ( MavlinkStreamCameraTrigger )
privatedelete

◆ MavlinkStreamCameraTrigger() [2/2]

MavlinkStreamCameraTrigger::MavlinkStreamCameraTrigger ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 2162 of file mavlink_messages.cpp.

Member Function Documentation

◆ const_rate()

bool MavlinkStreamCameraTrigger::const_rate ( )
inlineoverridevirtual
Returns
true if steam rate shouldn't be adjusted

Reimplemented from MavlinkStream.

Definition at line 2143 of file mavlink_messages.cpp.

◆ get_id()

uint16_t MavlinkStreamCameraTrigger::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2133 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamCameraTrigger::get_id_static ( )
inlinestatic

Definition at line 2128 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamCameraTrigger::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2118 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamCameraTrigger::get_name_static ( )
inlinestatic

Definition at line 2123 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamCameraTrigger::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 2148 of file mavlink_messages.cpp.

◆ new_instance()

static MavlinkStream* MavlinkStreamCameraTrigger::new_instance ( Mavlink mavlink)
inlinestatic

Definition at line 2138 of file mavlink_messages.cpp.

◆ operator=()

MavlinkStreamCameraTrigger& MavlinkStreamCameraTrigger::operator= ( const MavlinkStreamCameraTrigger )
privatedelete

◆ send()

bool MavlinkStreamCameraTrigger::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 2167 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, Mavlink::get_channel(), MavlinkCommandSender::handle_vehicle_command(), hrt_absolute_time(), MavlinkCommandSender::instance(), mavlink_system, msg, camera_trigger_s::seq, camera_trigger_s::timestamp, vehicle_command_s::timestamp, and MavlinkOrbSubscription::update().

Here is the call graph for this function:

Member Data Documentation

◆ _trigger_sub

MavlinkOrbSubscription* MavlinkStreamCameraTrigger::_trigger_sub
private

Definition at line 2154 of file mavlink_messages.cpp.

◆ _trigger_time

uint64_t MavlinkStreamCameraTrigger::_trigger_time
private

Definition at line 2155 of file mavlink_messages.cpp.


The documentation for this class was generated from the following file: