pragma Ada_2012;
-- (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$
-- 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.
-- Detailed Description
-- Root class for all the conditions that may be attached to a DDS.WaitSet.
-- This basic class is specialised in three classes:
-- DDS.GuardCondition, DDS.StatusCondition, and DDS.ReadCondition.
-- A DDSCondition has a trigger_value that can be
-- 1 or 0 and is set automatically by the
-- Data Distribution Service.
--
-- See also:DDS.SWaitSet
-- <defgroup>ConditionsModuleDocs</defgroup>
-- <dref>Condition</dref>
package DDS.Condition is
type Ref is limited interface;
type Ref_Access is access all Ref'Class;
type Ref_Access_Access is access all Ref_Access;
type Ref_Access_Array is array (Natural range <>) of aliased Ref_Access;
function Get_Trigger_Value
(Self : access Ref)
return DDS.Boolean is abstract;
-- <dref>Condition_get_trigger_value</dref>
procedure Initialize
(Self : in out Ref_Access) is null;
procedure Finalize
(Self : in out Ref_Access) is null;
procedure Copy
(Dst : in out Ref_Access;
Src : in Ref_Access);
end DDS.Condition;