Loading...
Searching...
No Matches
11#define __RTConfig_h__ included
13#define __RTSExternal__
40#define DEBUG_VERBOSE 2
46#define RTFRAME_CHECK_NONE 0
47#define RTFRAME_CHECK_LOOSE 1
48#define RTFRAME_CHECK_STRICT 2
53#define RTTYPECHECK_DONT 0
54#define RTTYPECHECK_WARN 1
55#define RTTYPECHECK_FAIL 2
73#define RTConstCast( type, value ) ( const_cast<type *>( value ) )
80#define DEFER_IN_ACTOR 0
91#ifndef INTEGER_POSTFIX
92#define INTEGER_POSTFIX 1
104#define OBJECT_DECODE 1
110#define OBJECT_ENCODE 1
116#define OTRTSDEBUG DEBUG_VERBOSE
131#ifndef RTS_COMPATIBLE
132#define RTS_COMPATIBLE 520
149# define RTS_INLINE inline
157#ifndef RTFRAME_CHECKING
158#define RTFRAME_CHECKING RTFRAME_CHECK_STRICT
163#ifndef RTIMPORT_ISREFERENCEDBY_CHECK
164#define RTIMPORT_ISREFERENCEDBY_CHECK 1
171#ifndef RTFRAME_THREAD_SAFE
172#define RTFRAME_THREAD_SAFE 1
179#ifndef RTMESSAGE_PAYLOAD_SIZE
180#define RTMESSAGE_PAYLOAD_SIZE 100
185#ifndef RTUseFloatingPoint
186#define RTUseFloatingPoint 1
193#ifndef RTREAL_INCLUDED
194#define RTREAL_INCLUDED RTUseFloatingPoint
197#if RTREAL_INCLUDED && ! RTUseFloatingPoint
198#error RTREAL_INCLUDED requires RTUseFloatingPoint
204# if RTUseFloatingPoint
205# define RTAlignment double
207# define RTAlignment long
213#ifndef RTTYPECHECK_PROTOCOL
214#define RTTYPECHECK_PROTOCOL RTTYPECHECK_WARN
220#ifndef RTTYPECHECK_SEND
221#define RTTYPECHECK_SEND RTTYPECHECK_WARN
226#ifndef RTTYPECHECK_RECEIVE
227# if ( RTTYPECHECK_PROTOCOL == RTTYPECHECK_FAIL ) && \
228 ( RTTYPECHECK_SEND == RTTYPECHECK_FAIL )
230# define RTTYPECHECK_RECEIVE RTTYPECHECK_DONT
232# define RTTYPECHECK_RECEIVE RTTYPECHECK_WARN
240#ifndef RTQUALIFY_NESTED
241#define RTQUALIFY_NESTED 0
247#ifndef RTUseBitFields
248#define RTUseBitFields 0
266#ifndef RTStateId_MaxSize
267#define RTStateId_MaxSize 2
270#if RTStateId_MaxSize == 1
271 typedef unsigned char RTStateId;
272#elif RTStateId_MaxSize == 2
273 typedef unsigned short RTStateId;
274#elif RTStateId_MaxSize == 4
275 typedef unsigned RTStateId;
277# error RTStateId_MaxSize improperly defined.
292#ifndef INLINE_METHODS
293#define INLINE_METHODS
299#define OBSERVABLE ( OTRTSDEBUG != DEBUG_NONE && HAVE_INET && \
300 OBJECT_DECODE && OBJECT_ENCODE )
305#if OBSERVABLE && ! ( OTRTSDEBUG != DEBUG_NONE && HAVE_INET && \
306 OBJECT_DECODE && OBJECT_ENCODE )
307#error TargetRTS cannot be OBSERVABLE with OTRTSDEBUG == DEBUG_NONE \
309 or OBJECT_DECODE == 0 \
310 or OBJECT_ENCODE == 0
316#define EXTERNAL_LAYER 0
323#if __cplusplus < 201103L && _MSC_VER <= 1500
333#ifndef MIN_FREE_LIST_SIZE
334#define MIN_FREE_LIST_SIZE 20U
337#ifndef MAX_FREE_LIST_SIZE
338#define MAX_FREE_LIST_SIZE 100U
341#ifndef RTMESSAGE_BLOCK_SIZE
342#define RTMESSAGE_BLOCK_SIZE 250