Index

Package: RTIDDS.Types

Description

package RTIDDS.Types is

Types

Address

subtype Address is System.Address;
Provided as a subtype here so that generated code can avoid a direct dependency on System, which may clash with a used-defined identifier.

short

type    short              is new Interfaces.Integer_16;

long

type    long               is new Interfaces.Integer_32;

Long_Long

type    Long_Long          is new Interfaces.Integer_64;

unsigned_short

type    unsigned_short     is new Interfaces.Unsigned_16;

unsigned_long

type    unsigned_long      is new Interfaces.Unsigned_32;

Unsigned_Long_Long

type    Unsigned_Long_Long is new Interfaces.Unsigned_64;
redefinition of entity in Standard

Float

type    Float              is new Interfaces.IEEE_Float_32;
redefinition of entity in Standard

Double

type    Double             is new Interfaces.IEEE_Float_64;

Long_Double

type    Long_Double        is new Interfaces.IEEE_Extended_Float;

Char

subtype Char               is Standard.Character;

Wchar

subtype Wchar              is Standard.Wide_Character;

Octet

type    Octet              is new Interfaces.Unsigned_8;
redefinition of entity in Standard

Boolean

subtype Boolean            is Standard.Boolean;
redefinition of entity in Standard

Wide_String

type Wide_String is new Ada.Strings.Wide_Unbounded.Unbounded_Wide_String;

String

type String is new Ada.Strings.Unbounded.Unbounded_String;

Short_Ptr

type    Short_Ptr              is access all short;

Long_Ptr

type    Long_Ptr               is access all long;

Long_Long_Ptr

type    Long_Long_Ptr          is access all Long_Long;

Unsigned_Short_Ptr

type    Unsigned_Short_Ptr     is access all unsigned_short;

Unsigned_Long_Ptr

type    Unsigned_Long_Ptr      is access all unsigned_long;

Unsigned_Long_Long_Ptr

type    Unsigned_Long_Long_Ptr is access all Unsigned_Long_Long;

Float_Ptr

type    Float_Ptr              is access all Float;

Double_Ptr

type    Double_Ptr             is access all Double;

Long_Double_Ptr

type    Long_Double_Ptr        is access all Long_Double;

Char_Ptr

type    Char_Ptr               is access all Char;

Wchar_Ptr

type    Wchar_Ptr              is access all Wchar;

Octet_Ptr

type    Octet_Ptr              is access all Octet;

Boolean_Ptr

type    Boolean_Ptr            is access all Boolean;

String_Ptr

type    String_Ptr             is access all String;

Wide_String_Ptr

type    Wide_String_Ptr        is access all Wide_String;

Bool

type Bool is new Boolean;

Constants & Global variables

RTI_BOOL_TRUE

RTI_BOOL_TRUE : constant Bool := True;

RTI_BOOL_FALSE

RTI_BOOL_FALSE : constant Bool := False;

Subprograms & Entries

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(long, Long_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(unsigned_short, Unsigned_Short_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(unsigned_long, Unsigned_Long_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Unsigned_Long_Long, Unsigned_Long_Long_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Float, Float_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Double, Double_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Long_Double, Long_Double_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Char, Char_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Wchar, Wchar_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Octet, Octet_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Boolean, Boolean_Ptr);

Deallocate

procedure Deallocate is new Ada.Unchecked_Deallocation 
(Wide_String, Wide_String_Ptr);

Trimmed_Image

function Trimmed_Image 
(X: Long_Long) return Standard.String;

Trimmed_Image

function Trimmed_Image 
(X: Unsigned_Long_Long) return Standard.String;

To_Rtidds_String

function To_Rtidds_String 
(Source: Standard.String) return String;

To_Standard_String

function To_Standard_String 
(Source: String) return Standard.String;

To_Rtidds_Wide_String

function To_Rtidds_Wide_String 
(Source: Standard.Wide_String) return Wide_String;

To_Standard_Wide_String

function To_Standard_Wide_String 
(Source: Wide_String) return Standard.Wide_String;