drake  1.0.0
cross_link Struct Reference

#include <cross_link.h>

Data Fields

link_tlink
 Pointer to the corresponding generic link.
task_status_tprod_state
 State of the producer task of this link.
volatile size_t * read
 Total number of elements read through this link, sent back from the consumer task.
volatile size_t * write
 Total number of elements written through this link, sent by the producer along with data.
size_t available
 Number of elements available in queue.
size_t total_read
 Total number of read and write operations performed on fifo.
size_t total_written
volatile CROSS_LINK_BUFFERbuffer
 Link to buffer that holds data being transmitted.
size_t actual_read
 Actual number of elements.
size_t actual_written

Detailed Description

Models a link between two tasks mapped to different processors

Definition at line 33 of file cross_link.h.


Field Documentation

size_t actual_read

Actual number of elements.

Definition at line 50 of file cross_link.h.

Definition at line 50 of file cross_link.h.

size_t available

Number of elements available in queue.

Definition at line 44 of file cross_link.h.

Link to buffer that holds data being transmitted.

Definition at line 48 of file cross_link.h.

Pointer to the corresponding generic link.

Definition at line 36 of file cross_link.h.

State of the producer task of this link.

Definition at line 38 of file cross_link.h.

volatile size_t* read

Total number of elements read through this link, sent back from the consumer task.

Definition at line 40 of file cross_link.h.

size_t total_read

Total number of read and write operations performed on fifo.

Definition at line 46 of file cross_link.h.

size_t total_written

Definition at line 46 of file cross_link.h.

volatile size_t* write

Total number of elements written through this link, sent by the producer along with data.

Definition at line 42 of file cross_link.h.


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