#include <sender.h>
Inheritance diagram for Sender:
Public Member Functions | |
virtual void | ipc_receiver_ready ()=0 |
Receiver-ready callback. | |
Global_id | id () const |
Sender ID. | |
Receiver * | receiver () const |
Current receiver. | |
bool | in_sender_list () |
Sender in a queue of senders?. | |
void | sender_dequeue (Sender **r) |
Dequeue from a sender list. | |
Protected Member Functions | |
Sender (const Global_id &id, int) | |
Optimized constructor. | |
void | set_receiver (Receiver *receiver) |
Set current receiver. | |
void | sender_enqueue (Sender **r) |
Enqueue in a sender list. | |
Sender (const Global_id &id) | |
Constructor. | |
Protected Attributes | |
Receiver * | _receiver |
Private Attributes | |
Global_id | _id |
Sender * | sender_next |
Sender * | sender_prev |
Friends | |
class | Jdb |
class | Jdb_thread_list |
This is a role class, so real senders need to inherit from it.
|
Optimized constructor. This constructor assumes that the object storage is zero-initialized.
|
|
Constructor.
|
|
Sender ID.
|
|
Sender in a queue of senders?.
|
|
Receiver-ready callback. Receivers make sure to call this function on waiting senders when they get ready to receive a message from that sender. Senders need to overwrite this interface. Implemented in Irq, Preemption, and Thread. |
|
Current receiver.
|
|
Dequeue from a sender list.
|
|
Enqueue in a sender list.
|
|
Set current receiver.
Reimplemented in Preemption. |
|
Reimplemented in Thread. |
|
Reimplemented in Thread. |
|
|
|
|
|
|
|
|