10#ifndef __RTSymmetricSignal_h__
11#define __RTSymmetricSignal_h__ included
17#ifndef __RTPriority_h__
18#include <RTPriority.h>
21#ifndef __RTProtocol_h__
22#include <RTProtocol.h>
40 RTS_INLINE
int purge (
void );
48 RTS_INLINE
int purgeAt (
int index );
58 RTS_INLINE
int recall (
int front = 0 );
69 RTS_INLINE
int recallAt (
int index,
int front = 0 );
79 RTS_INLINE
int recallAll (
int front = 0 );
90 RTS_INLINE
int recallAllAt(
int index,
int front = 0 );
133 RTS_INLINE
int invokeAt(
int index);
140 RTS_INLINE
int reply (
void );
149 RTS_INLINE
int send (
int priority = General );
160 RTS_INLINE
int sendAt (
int index,
int priority = General );
176#include <RTSymmetricSignal.inl>
Represents a message used for communication between capsule instances.
Definition: RTMessage.h:33
Represents a general capsule port typed by a protocol which determines the set of events that can be ...
Definition: RTProtocol.h:50
Provides the combined API of both RTOutSignal and RTInSignal for symmetric protocol events defined as...
Definition: RTSymmetricSignal.h:32
int recallAll(int front=0)
Recall one or many messages from the defer queue and insert them in the controller's message queue (e...
Definition: RTSymmetricSignal.inl:56
int purge(void)
Remove from the defer queue all messages that match the receiver port and the signal id of the protoc...
Definition: RTSymmetricSignal.inl:36
int reply(void)
Make a reply to respond to an invoke.
Definition: RTSymmetricSignal.inl:92
int purgeAt(int index)
Remove from the defer queue all messages that match the receiver port and the signal id of the protoc...
Definition: RTSymmetricSignal.inl:41
int recallAt(int index, int front=0)
Recall a message from the defer queue and insert it in the controller's message queue (either before ...
Definition: RTSymmetricSignal.inl:51
int sendAt(int index, int priority=General)
Send a message of the specified protocol event and on the specified port (optionally passing a specif...
Definition: RTSymmetricSignal.inl:102
int _in_signal
The signal id of the incoming protocol event for the received message.
Definition: RTSymmetricSignal.h:169
RTProtocol * _port
The port to which the message should be sent.
Definition: RTSymmetricSignal.h:166
int invokeAt(int index, RTMessage *replyBuffer)
Invoke a message of the specified protocol event and on the specified port (optionally passing a spec...
Definition: RTSymmetricSignal.inl:72
int recallAllAt(int index, int front=0)
Recall one or many messages from the defer queue and insert them in the controller's message queue (e...
Definition: RTSymmetricSignal.inl:61
int recall(int front=0)
Recall a message from the defer queue and insert it in the controller's message queue (either before ...
Definition: RTSymmetricSignal.inl:46
int send(int priority=General)
Send a message of the specified protocol event and on the specified port (optionally passing a specif...
Definition: RTSymmetricSignal.inl:97
int invoke()
Invoke a message of the specified protocol event and on the specified port (optionally passing a spec...
Definition: RTSymmetricSignal.inl:78
int _out_signal
The signal id of the outgoing protocol event for the message to send.
Definition: RTSymmetricSignal.h:172