C++ TargetRTS
Loading...
Searching...
No Matches
RTExceptionSignal.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTExceptionSignal_h__
11#define __RTExceptionSignal_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
21struct RTObject_class;
22class RTProtocol;
23struct RTTypedValue;
24
25// It is common to make temporaries of this struct.
26//lint -esym(1901,RTExceptionSignal)
27
29{
30 // general application use
31 RTS_INLINE int raise( void );
32
33 // for use by run-time services library only
34 RTS_INLINE RTExceptionSignal( RTProtocol * port,
35 int signal );
36 RTS_INLINE RTExceptionSignal( RTProtocol * port,
37 int signal,
38 const RTTypedValue & data );
39 RTS_INLINE ~RTExceptionSignal( void );
40
41 RTProtocol * _port;
42 int _signal;
43 const void * _data;
44 const RTObject_class * _type;
45}; //lint !e1712
46
47#if RTS_INLINES
48#include <RTExceptionSignal.inl>
49#endif
50
51#endif // __RTExceptionSignal_h__
Represents a general capsule port typed by a protocol which determines the set of events that can be ...
Definition: RTProtocol.h:50
Definition: RTExceptionSignal.h:29
A type descriptor providing information about a type.
Definition: RTObject_class.h:64
Encapsulates a data object and its type descriptor.
Definition: RTTypedValue.h:29