10#ifndef __RTExternal_h__
11#define __RTExternal_h__ included
17#ifndef __RTInSignal_h__
18#include <RTInSignal.h>
21#ifndef __RTProtocol_h__
22#include <RTProtocol.h>
39 RTS_INLINE
Base(
void);
44 rti_event = rtiLast_RTProtocol + 1
118 rtiLast_External = rti_event
128 RTExternalData* externalData;
137#include <RTExternal.inl>
Represents a port through which an external thread can safely communicate with its owner capsule.
Definition: RTExternal.h:35
int raise(const void *data=nullptr, const RTObject_class *type=nullptr)
Send an event on the external port.
void enable(void)
Enable the owner capsule to receive an event on the external port.
void dataPushBack(void *data)
Store a data object on the external port.
unsigned int dataPopBack(void **data)
Pop the last data object off the list of objects stored on the external port.
void disable(void)
Disable the owner capsule from receiving an event on the external port.
unsigned int dataPopFront(void **data)
Pop the first data object off the list of objects stored on the external port.
RTInSignal event(void)
Return the object that represents the event which can be sent to the external port by an external thr...
Definition: RTExternal.inl:28
void dataDelete(void *data)
Attempt to find a specific data object in the list of objects stored on the external port.
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
Represents the predefined "External" protocol.
Definition: RTExternal.h:30
Provides the API for working with messages of a certain protocol event received on a certain port.
Definition: RTInSignal.h:34
A type descriptor providing information about a type.
Definition: RTObject_class.h:64
Definition: RTProtocolDescriptor.h:40
Definition: RTSignalDescriptor.h:32