/* * (c) Copyright, Real-Time Innovations, 2002-2026. * All rights reserved. * No duplications, whole or partial, manual or electronic, may be made * without express written permission. Any such copies, or * revisions thereof, must display this notice unaltered. * This code contains trade secrets of Real-Time Innovations, Inc. */ #ifndef reda_boundedSeq_h #define reda_boundedSeq_h #include "osapi/osapi_type.h" #ifdef __cplusplus extern "C" { #endif #define REDA_BOUNDED_SEQUENCE(TBoundedSeq, T, TMaxLength) \ typedef struct { \ /*e \ * Maximum capacity of sequence. \ */ \ RTI_UINT32 _maximum; \ /*e \ * Actual length of data in sequence. \ */ \ RTI_UINT32 _length; \ /*e \ * Buffer to store the values. \ */ \ T _buffer[TMaxLength]; \ } TBoundedSeq; #ifdef __cplusplus } /* extern "C" */ #endif #endif /* reda_boundedSeq_h */