PX4 Firmware
PX4 Autopilot Software http://px4.io
work_q_item_t Struct Reference

Work task work item. More...

Collaboration diagram for work_q_item_t:

Public Attributes

sq_entry_t link
 list linkage More...
 
px4_sem_t wait_sem
 
unsigned char first
 
unsigned char func
 
ssize_t result
 
union {
   struct {
      dm_item_t   item
 
      unsigned   index
 
      dm_persitence_t   persistence
 
      const void *   buf
 
      size_t   count
 
   }   write_params
 
   struct {
      dm_item_t   item
 
      unsigned   index
 
      void *   buf
 
      size_t   count
 
   }   read_params
 
   struct {
      dm_item_t   item
 
   }   clear_params
 
   struct {
      dm_reset_reason   reason
 
   }   restart_params
 
}; 
 

Detailed Description

Work task work item.

Definition at line 174 of file dataman.cpp.

Member Data Documentation

◆ @90

union { ... }

◆ buf [1/2]

const void* work_q_item_t::buf

Definition at line 185 of file dataman.cpp.

◆ buf [2/2]

void* work_q_item_t::buf

Definition at line 191 of file dataman.cpp.

◆ clear_params

struct { ... } work_q_item_t::clear_params

Referenced by dm_clear(), and task_main().

◆ count

size_t work_q_item_t::count

Definition at line 186 of file dataman.cpp.

◆ first

unsigned char work_q_item_t::first

Definition at line 177 of file dataman.cpp.

Referenced by create_work_item(), and task_main().

◆ func

unsigned char work_q_item_t::func

Definition at line 178 of file dataman.cpp.

Referenced by dm_clear(), dm_read(), dm_restart(), dm_write(), and task_main().

◆ index

unsigned work_q_item_t::index

Definition at line 183 of file dataman.cpp.

◆ item

dm_item_t work_q_item_t::item

Definition at line 182 of file dataman.cpp.

◆ link

sq_entry_t work_q_item_t::link

list linkage

Definition at line 175 of file dataman.cpp.

Referenced by destroy_work_item(), and enqueue_work_item_and_wait_for_result().

◆ persistence

dm_persitence_t work_q_item_t::persistence

Definition at line 184 of file dataman.cpp.

◆ read_params

struct { ... } work_q_item_t::read_params

Referenced by dm_read(), and task_main().

◆ reason

dm_reset_reason work_q_item_t::reason

Definition at line 198 of file dataman.cpp.

◆ restart_params

struct { ... } work_q_item_t::restart_params

Referenced by dm_restart(), and task_main().

◆ result

ssize_t work_q_item_t::result

Definition at line 179 of file dataman.cpp.

Referenced by enqueue_work_item_and_wait_for_result(), and task_main().

◆ wait_sem

px4_sem_t work_q_item_t::wait_sem

◆ write_params

struct { ... } work_q_item_t::write_params

Referenced by dm_write(), and task_main().


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