pragma Ada_2012;
with DDS.Condition_Impl;
with RTIDDS.Low_Level.ndds_dds_c_dds_c_infrastructure_h;
package DDS.GuardCondition_Impl is
use RTIDDS.Low_Level.ndds_dds_c_dds_c_infrastructure_h;
type Ref is limited new DDS.Condition_Impl.Ref with null record;
type Ref_Access is access all Ref'Class;
procedure Initialize
(Self : in out Ref);
procedure Adjust
(Self : in out Ref);
procedure Finalize
(Self : in out Ref);
procedure Set_Trigger_Value
(Self : access Ref;
Value : DDS.Boolean);
function Get_Trigger_Value
(Self : access Ref) return DDS.Boolean;
procedure Free (This : in out Ref_Access);
type DDS_GuardCondition_Access is access all DDS_GuardCondition with Storage_Size => 0;
function GetInterface (Self : not null access Ref) return DDS_GuardCondition_Access;
procedure SetInterface (Self : not null access Ref; To : DDS_GuardCondition_Access);
private
procedure Free_Impl is new Ada.Unchecked_Deallocation (Ref'Class, Ref_Access);
procedure Free (This : in out Ref_Access) renames Free_Impl;
end DDS.GuardCondition_Impl;