Files
qt6-migration-pipeline/external/rti_connext_dds-7.7.0/include/ndds/pres/pres_condition.h
T
torstenandCopilot 342ffd3e5c Update submodule to latest BUILD_RTI fixes
- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten
- svcTabCommon: Export-Header-Fix via Fallback-Target
- TrainingAreaBase: Stub-Header für BUILD_RTI=OFF
- ddsfts: Include-Pfad und Dependency-Fixes
- BUILD_RTI=OFF Compilation vollständig unterstützt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
2026-08-21 19:30:20 +02:00

87 lines
2.2 KiB
C

/* (c) Copyright 2003-2021, Real-Time Innovations, Inc. All rights reserved. */
/*
* @(#)pres_condition.h generated by: makeheader Tue Apr 7 17:39:30 2026
*
* built from: condition.ifc
*/
#ifndef pres_condition_h
#define pres_condition_h
#ifndef pres_dll_h
#include "pres/pres_dll.h"
#endif
#ifndef osapi_type_h
#include "osapi/osapi_type.h"
#endif
#ifndef osapi_time_h
#include "osapi/osapi_ntptime.h"
#endif
#ifndef osapi_semaphore_h
#include "osapi/osapi_semaphore.h"
#endif
#ifndef reda_sequenceNumber_h
#include "reda/reda_sequenceNumber.h"
#endif
#ifndef reda_inlineList_h
#include "reda/reda_inlineList.h"
#endif
typedef enum {
TRIGGER_VALUE_FALSE = 0x00,
TRIGGER_VALUE_TRUE = 0x01,
TRIGGER_VALUE_IGNORE = 0x02
} PRESConditionTriggerValue;
struct PRESWaitSet;
struct WaitSetNode {
struct REDAInlineListNode _node;
struct PRESWaitSet *_presWaitSetPtr;
};
/*e \ingroup PRESConditionModule
* \brief A Condition.
*/
struct PRESCondition {
/* Whether or not this condition is triggered */
RTI_ATOMIC(RTIBool) _triggerValue;
/* Indicates whether this PRESCondition is a PRESReaderQueueIndexCondition */
RTIBool _isIndexCondition;
/* List of waitsets to which this condition is attached */
struct REDAInlineList _waitSetList;
struct REDAExclusiveArea *_ea;
void *_userObject;
};
extern PRESDllExport
RTIBool
PRESCondition_get_trigger_value(struct PRESCondition *self);
extern PRESDllExport
RTIBool PRESCondition_set_trigger_value(
struct PRESCondition *self,
RTIBool *conditionAttachedToWaitset,
PRESConditionTriggerValue trigger_value,
struct REDAWorker *worker);
extern PRESDllExport
RTIBool PRESCondition_is_index_condition(struct PRESCondition *self);
extern PRESDllExport
void PRESCondition_initialize(struct PRESCondition *self,
void *userObject,
RTIBool isIndexCondition,
struct REDAExclusiveArea* ea);
extern PRESDllExport
void *PRESCondition_getUserObject(
struct PRESCondition *self);
#endif /* pres_condition_h */