Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
regression-suites
Commits
c86d0f79
Commit
c86d0f79
authored
May 09, 2018
by
Thanassis Tsiodras
Browse files
Fix AADL dataview.
parent
514f743c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Demo_RTDS_SyncC/DataView.aadl
View file @
c86d0f79
--------------------------------------------------------
--
! File generated by asn2aadl v2.1.1
0
: DO NOT EDIT !
--
! File generated by asn2aadl v2.1.1
1
: DO NOT EDIT !
--------------------------------------------------------
--
! InputASN1FileChecksum:ea2bc8085f96189ce53191fc48545a34:TPOS_Dataview.asn:
--
! InputASN1FileChecksum:ea2bc8085f96189ce53191fc48545a34:
/root/tool-src/testSuites/Demo_RTDS_SyncC/
TPOS_Dataview.asn:
--
! InputASN1FileChecksum:ee8a7e01f29874c0d50f437d5abb9599:../../misc/taste-common-types/taste-types.asn:
--------------------------------------------------------
...
...
@@ -43,13 +43,52 @@ data Stream_Element_Buffer
properties
Data_Model
::
Data_Representation
=>
Character
;
end
Stream_Element_Buffer
;
DATA
T_UInt8
PROPERTIES
--
name
of
the
ASN
.1
source
file
:
Source_Text
=>
(
"../../misc/taste-common-types/taste-types.asn"
);
TASTE
::
Ada_Package_Name
=>
"TASTE_BasicTypes"
;
Deployment
::
ASN1_Module_Name
=>
"TASTE-BasicTypes"
;
Source_Language
=>
(
ASN1
);
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
8
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
8
Bytes
;
--
name
of
the
corresponding
data
type
in
the
source
file
:
Type_Source_Name
=>
"T-UInt8"
;
--
what
kind
of
type
is
this
?
TASTE
::
ASN1_Basic_Type
=>
aINTEGER
;
END
T_UInt8
;
DATA
T_UInt8_Buffer_Max
END
T_UInt8_Buffer_Max
;
DATA
IMPLEMENTATION
T_UInt8_Buffer_Max
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_UInt8
PROPERTIES
Data_Model
::
Data_Representation
=>
array
;
Data_Model
::
Dimension
=>
(
8
);
--
Size
of
the
buffer
Data_Model
::
Base_Type
=>
(
classifier
(
DataView
::
Stream_Element_Buffer
));
END
T_UInt8_Buffer_Max
.
impl
;
DATA
T_UInt8_Buffer
END
T_UInt8_Buffer
;
DATA
IMPLEMENTATION
T_UInt8_Buffer
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_UInt8
SUBCOMPONENTS
Buffer
:
data
T_UInt8_Buffer_Max
.
impl
;
Length
:
data
Base_Types
::
Unsigned_32
;
PROPERTIES
Data_Model
::
Data_Representation
=>
Struct
;
END
T_UInt8_Buffer
.
impl
;
DATA
T_Int8
PROPERTIES
--
name
of
the
ASN
.1
source
file
:
Source_Text
=>
(
"../../misc/taste-common-types/taste-types.asn"
);
TASTE
::
Ada_Package_Name
=>
"TASTE_BasicTypes"
;
Deployment
::
ASN1_Module_Name
=>
"TASTE-BasicTypes"
;
Source_Language
=>
ASN1
;
Source_Language
=>
(
ASN1
)
;
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
8
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
8
Bytes
;
...
...
@@ -88,7 +127,7 @@ PROPERTIES
Source_Text
=>
(
"../../misc/taste-common-types/taste-types.asn"
);
TASTE
::
Ada_Package_Name
=>
"TASTE_BasicTypes"
;
Deployment
::
ASN1_Module_Name
=>
"TASTE-BasicTypes"
;
Source_Language
=>
ASN1
;
Source_Language
=>
(
ASN1
)
;
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
8
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
8
Bytes
;
...
...
@@ -121,83 +160,83 @@ PROPERTIES
Data_Model
::
Data_Representation
=>
Struct
;
END
T_Int32_Buffer
.
impl
;
DATA
T_
UInt32
DATA
T_
Boolean
PROPERTIES
--
name
of
the
ASN
.1
source
file
:
Source_Text
=>
(
"../../misc/taste-common-types/taste-types.asn"
);
TASTE
::
Ada_Package_Name
=>
"TASTE_BasicTypes"
;
Deployment
::
ASN1_Module_Name
=>
"TASTE-BasicTypes"
;
Source_Language
=>
ASN1
;
Source_Language
=>
(
ASN1
)
;
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
8
;
suggested
aligned
message
buffer
is
...
--
Real
message
size
is
1
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
8
Bytes
;
--
name
of
the
corresponding
data
type
in
the
source
file
:
Type_Source_Name
=>
"T-
UInt32
"
;
Type_Source_Name
=>
"T-
Boolean
"
;
--
what
kind
of
type
is
this
?
TASTE
::
ASN1_Basic_Type
=>
a
INTEGER
;
END
T_
UInt32
;
TASTE
::
ASN1_Basic_Type
=>
a
BOOLEAN
;
END
T_
Boolean
;
DATA
T_
UInt32
_Buffer_Max
END
T_
UInt32
_Buffer_Max
;
DATA
T_
Boolean
_Buffer_Max
END
T_
Boolean
_Buffer_Max
;
DATA
IMPLEMENTATION
T_
UInt32
_Buffer_Max
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_
UInt32
DATA
IMPLEMENTATION
T_
Boolean
_Buffer_Max
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_
Boolean
PROPERTIES
Data_Model
::
Data_Representation
=>
array
;
Data_Model
::
Dimension
=>
(
8
);
--
Size
of
the
buffer
Data_Model
::
Base_Type
=>
(
classifier
(
DataView
::
Stream_Element_Buffer
));
END
T_
UInt32
_Buffer_Max
.
impl
;
END
T_
Boolean
_Buffer_Max
.
impl
;
DATA
T_
UInt32
_Buffer
END
T_
UInt32
_Buffer
;
DATA
T_
Boolean
_Buffer
END
T_
Boolean
_Buffer
;
DATA
IMPLEMENTATION
T_
UInt32
_Buffer
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_
UInt32
DATA
IMPLEMENTATION
T_
Boolean
_Buffer
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_
Boolean
SUBCOMPONENTS
Buffer
:
data
T_
UInt32
_Buffer_Max
.
impl
;
Buffer
:
data
T_
Boolean
_Buffer_Max
.
impl
;
Length
:
data
Base_Types
::
Unsigned_32
;
PROPERTIES
Data_Model
::
Data_Representation
=>
Struct
;
END
T_
UInt32
_Buffer
.
impl
;
END
T_
Boolean
_Buffer
.
impl
;
DATA
T_UInt
8
DATA
T_UInt
32
PROPERTIES
--
name
of
the
ASN
.1
source
file
:
Source_Text
=>
(
"../../misc/taste-common-types/taste-types.asn"
);
TASTE
::
Ada_Package_Name
=>
"TASTE_BasicTypes"
;
Deployment
::
ASN1_Module_Name
=>
"TASTE-BasicTypes"
;
Source_Language
=>
ASN1
;
Source_Language
=>
(
ASN1
)
;
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
8
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
8
Bytes
;
--
name
of
the
corresponding
data
type
in
the
source
file
:
Type_Source_Name
=>
"T-UInt
8
"
;
Type_Source_Name
=>
"T-UInt
32
"
;
--
what
kind
of
type
is
this
?
TASTE
::
ASN1_Basic_Type
=>
aINTEGER
;
END
T_UInt
8
;
END
T_UInt
32
;
DATA
T_UInt
8
_Buffer_Max
END
T_UInt
8
_Buffer_Max
;
DATA
T_UInt
32
_Buffer_Max
END
T_UInt
32
_Buffer_Max
;
DATA
IMPLEMENTATION
T_UInt
8
_Buffer_Max
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_UInt
8
DATA
IMPLEMENTATION
T_UInt
32
_Buffer_Max
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_UInt
32
PROPERTIES
Data_Model
::
Data_Representation
=>
array
;
Data_Model
::
Dimension
=>
(
8
);
--
Size
of
the
buffer
Data_Model
::
Base_Type
=>
(
classifier
(
DataView
::
Stream_Element_Buffer
));
END
T_UInt
8
_Buffer_Max
.
impl
;
END
T_UInt
32
_Buffer_Max
.
impl
;
DATA
T_UInt
8
_Buffer
END
T_UInt
8
_Buffer
;
DATA
T_UInt
32
_Buffer
END
T_UInt
32
_Buffer
;
DATA
IMPLEMENTATION
T_UInt
8
_Buffer
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_UInt
8
DATA
IMPLEMENTATION
T_UInt
32
_Buffer
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_UInt
32
SUBCOMPONENTS
Buffer
:
data
T_UInt
8
_Buffer_Max
.
impl
;
Buffer
:
data
T_UInt
32
_Buffer_Max
.
impl
;
Length
:
data
Base_Types
::
Unsigned_32
;
PROPERTIES
Data_Model
::
Data_Representation
=>
Struct
;
END
T_UInt
8
_Buffer
.
impl
;
END
T_UInt
32
_Buffer
.
impl
;
DATA
T_POS
PROPERTIES
...
...
@@ -205,7 +244,7 @@ PROPERTIES
Source_Text
=>
(
"TPOS_Dataview.asn"
);
TASTE
::
Ada_Package_Name
=>
"MY_MODULE"
;
Deployment
::
ASN1_Module_Name
=>
"MY-MODULE"
;
Source_Language
=>
ASN1
;
Source_Language
=>
(
ASN1
)
;
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
24
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
24
Bytes
;
...
...
@@ -238,43 +277,16 @@ PROPERTIES
Data_Model
::
Data_Representation
=>
Struct
;
END
T_POS_Buffer
.
impl
;
DATA
T_Boolean
PROPERTIES
--
name
of
the
ASN
.1
source
file
:
Source_Text
=>
(
"../../misc/taste-common-types/taste-types.asn"
);
TASTE
::
Ada_Package_Name
=>
"TASTE_BasicTypes"
;
Deployment
::
ASN1_Module_Name
=>
"TASTE-BasicTypes"
;
Source_Language
=>
ASN1
;
--
Size
of
a
buffer
to
cover
all
forms
of
message
representation
:
--
Real
message
size
is
1
;
suggested
aligned
message
buffer
is
...
Source_Data_Size
=>
8
Bytes
;
--
name
of
the
corresponding
data
type
in
the
source
file
:
Type_Source_Name
=>
"T-Boolean"
;
--
what
kind
of
type
is
this
?
TASTE
::
ASN1_Basic_Type
=>
aBOOLEAN
;
END
T_Boolean
;
DATA
T_Boolean_Buffer_Max
END
T_Boolean_Buffer_Max
;
SYSTEM
Taste_DataView
END
Taste_DataView
;
DATA
IMPLEMENTATION
T_Boolean_Buffer_Max
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_Boolean
PROPERTIES
Data_Model
::
Data_Representation
=>
array
;
Data_Model
::
Dimension
=>
(
8
);
--
Size
of
the
buffer
Data_Model
::
Base_Type
=>
(
classifier
(
DataView
::
Stream_Element_Buffer
));
END
T_Boolean_Buffer_Max
.
impl
;
DATA
T_Boolean_Buffer
END
T_Boolean_Buffer
;
DATA
IMPLEMENTATION
T_Boolean_Buffer
.
impl
--
Buffer
to
hold
a
marshalled
data
of
type
T_Boolean
SYSTEM
IMPLEMENTATION
Taste_DataView
.
others
SUBCOMPONENTS
Buffer
:
data
T_Boolean_Buffer_Max
.
impl
;
Length
:
data
Base_Types
::
Unsigned_32
;
PROPERTIES
Data_Model
::
Data_Representation
=>
Struct
;
END
T_Boolean_Buffer
.
impl
;
T_UInt8
:
DATA
T_UInt8
;
T_Int8
:
DATA
T_Int8
;
T_Int32
:
DATA
T_Int32
;
T_Boolean
:
DATA
T_Boolean
;
T_UInt32
:
DATA
T_UInt32
;
T_POS
:
DATA
T_POS
;
END
Taste_DataView
.
others
;
end
DataView
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment