pragma Ada_05;
limited with DDS.DataReader;
with DDS.Condition_Impl;
with DDS.ReadCondition;
with RTIDDS.Low_Level.ndds_reda_reda_worker_impl_h;
package DDS.ReadCondition_Impl is
type Ref is new DDS.Condition_Impl.Ref and DDS.ReadCondition.Ref with null record;
type Ref_Access is access all Ref'Class;
function Get_Trigger_Value
(Self : access Ref)
return DDS.Boolean;
function Get_Sample_State_Mask
(Self : not null access Ref)
return DDS.SampleStateMask;
function Get_View_State_Mask
(Self : not null access Ref)
return DDS.ViewStateMask;
function Get_Instance_State_Mask
(Self : not null access Ref)
return DDS.InstanceStateMask;
function Get_DataReader
(Self : not null access Ref)
return access DDS.DataReader.Ref'Class;
function CreateI
(C_DataReader : System.Address;
Sample_Mask : DDS.SampleStateMask;
View_Mask : DDS.ViewStateMask;
Instance_Mask : DDS.InstanceStateMask)
return DDS.ReadCondition.Ref_Access;
procedure Free (Self : access Ref'Class);
function Get_Impl_I
(Self : access Ref)
return DDS.Condition_Impl.Ref_Access;
procedure Finalize_Callback
(arg1 : System.Address;
arg2 : System.Address;
arg3 : access RTIDDS.Low_Level.ndds_reda_reda_worker_impl_h.REDAWorker);
pragma Convention (C, Finalize_Callback);
private
procedure Free_Impl is new Ada.Unchecked_Deallocation (Ref'Class, Ref_Access);
procedure Free_Mem (Self : in out Ref_Access) renames Free_Impl;
end DDS.ReadCondition_Impl;