Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
a61accf1
Commit
a61accf1
authored
Feb 07, 2017
by
filatov
Browse files
TITANIZATION: remove 'mtc' and 'system' from function declaration
parent
d414322c
Changes
8
Hide whitespace changes
Inline
Side-by-side
ttcn/BTP/LibItsBtp_Functions.ttcn
View file @
a61accf1
...
...
@@ -94,7 +94,7 @@
/**
* @desc Setups default configuration
*/
function
f_cfUp
()
runs
on
ItsBtp
system
ItsBtpSystem
{
function
f_cfUp
()
runs
on
ItsBtp
/* TITAN TODO:
system ItsBtpSystem
*/
{
map
(
self
:
utPort
,
system
:
utPort
);
map
(
self
:
btpPort
,
system
:
btpPort
);
...
...
@@ -105,7 +105,7 @@
/**
* @desc Deletes default configuration
*/
function
f_cfDown
()
runs
on
ItsBtp
system
ItsBtpSystem
{
function
f_cfDown
()
runs
on
ItsBtp
/* TITAN TODO:
system ItsBtpSystem
*/
{
unmap
(
self
:
utPort
,
system
:
utPort
);
unmap
(
self
:
btpPort
,
system
:
btpPort
);
...
...
ttcn/CAM/LibItsCam_Functions.ttcn
View file @
a61accf1
...
...
@@ -292,7 +292,7 @@ module LibItsCam_Functions {
*/
function
f_cfUp
(
in
charstring
p_certificateId
:=
PX_CERT_FOR_TS
)
runs
on
ItsCam
system
ItsCamSystem
{
)
runs
on
ItsCam
/* TITAN TODO:
system ItsCamSystem
*/
{
map
(
self
:
utPort
,
system
:
utPort
);
map
(
self
:
acPort
,
system
:
acPort
);
...
...
@@ -307,7 +307,7 @@ module LibItsCam_Functions {
/**
* @desc Deletes default configuration
*/
function
f_cfDown
()
runs
on
ItsCam
system
ItsCamSystem
{
function
f_cfDown
()
runs
on
ItsCam
/* TITAN TODO:
system ItsCamSystem
*/
{
// Initialise secured mode
f_uninitialiseSecuredMode
();
...
...
ttcn/DENM/LibItsDenm_Functions.ttcn
View file @
a61accf1
...
...
@@ -386,7 +386,7 @@ module LibItsDenm_Functions {
*/
function
f_cfUp
(
in
charstring
p_certificateId
:=
PX_CERT_FOR_TS
)
runs
on
ItsDenm
system
ItsDenmSystem
{
)
runs
on
ItsDenm
/* TITAN TODO:
system ItsDenmSystem
*/
{
map
(
self
:
acPort
,
system
:
acPort
);
map
(
self
:
utPort
,
system
:
utPort
);
...
...
@@ -401,7 +401,7 @@ module LibItsDenm_Functions {
/**
* @desc Deletes default configuration
*/
function
f_cfDown
()
runs
on
ItsDenm
system
ItsDenmSystem
{
function
f_cfDown
()
runs
on
ItsDenm
/* TITAN TODO:
system ItsDenmSystem
*/
{
// Initialise secured mode
f_uninitialiseSecuredMode
();
...
...
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
View file @
a61accf1
...
...
@@ -154,7 +154,7 @@ module LibItsGeoNetworking_Functions {
* - Area2 which only includes NodeB
* NodeB being close to the area center
*/
function
f_cf01Up
(
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsGeoNetworking
system
ItsGeoNetworkingSystem
{
function
f_cf01Up
(
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsGeoNetworking
/* TITAN TODO:
system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -182,7 +182,7 @@ module LibItsGeoNetworking_Functions {
}
// end f_cf01Up
function
f_cf01Down
()
runs
on
ItsGeoNetworking
system
ItsGeoNetworkingSystem
{
function
f_cf01Down
()
runs
on
ItsGeoNetworking
/* TITAN TODO:
system ItsGeoNetworkingSystem
*/
{
f_uninitialiseSecuredMode
();
...
...
@@ -207,7 +207,7 @@ module LibItsGeoNetworking_Functions {
*
* @param p_mainUtComponent Name of the component that will initialize IUT and handle default UT messages
*/
function
f_cf02Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf02Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -270,7 +270,7 @@ module LibItsGeoNetworking_Functions {
/**
* @desc Deletes configuration cf02
*/
function
f_cf02Down
()
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf02Down
()
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Local variables
var
integer
i
;
...
...
@@ -301,7 +301,7 @@ module LibItsGeoNetworking_Functions {
* NodeB being close to the area center
* @param p_mainUtComponent Name of the component that will initialize IUT and handle default UT messages
*/
function
f_cf03Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf03Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -364,7 +364,7 @@ module LibItsGeoNetworking_Functions {
/**
* @desc Deletes configuration cf03
*/
function
f_cf03Down
()
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf03Down
()
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Local variables
var
integer
i
;
...
...
@@ -397,7 +397,7 @@ module LibItsGeoNetworking_Functions {
* NodeB being close to the area center
* @param p_mainUtComponent Name of the component that will initialize IUT and handle default UT messages
*/
function
f_cf04Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf04Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -460,7 +460,7 @@ module LibItsGeoNetworking_Functions {
/**
* @desc Deletes configuration cf04
*/
function
f_cf04Down
()
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf04Down
()
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Local variables
var
integer
i
;
...
...
@@ -489,7 +489,7 @@ module LibItsGeoNetworking_Functions {
* - Area1 which only includes NodeB, NodeD and IUT
* @param p_mainUtComponent Name of the component that will initialize IUT and handle default UT messages
*/
function
f_cf05Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf05Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -551,7 +551,7 @@ module LibItsGeoNetworking_Functions {
/**
* @desc Deletes configuration cf05
*/
function
f_cf05Down
()
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf05Down
()
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Local variables
var
integer
i
;
...
...
@@ -581,7 +581,7 @@ module LibItsGeoNetworking_Functions {
* - IUT not in sectorial area of NodeB-NodeF
* @param p_mainUtComponent Name of the component that will initialize IUT and handle default UT messages
*/
function
f_cf06Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf06Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -643,7 +643,7 @@ module LibItsGeoNetworking_Functions {
/**
* @desc Deletes configuration cf06
*/
function
f_cf06Down
()
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf06Down
()
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Local variables
var
integer
i
;
...
...
@@ -672,7 +672,7 @@ module LibItsGeoNetworking_Functions {
* - Area1 which only includes NodeB, NodeD and IUT
* @param p_mainUtComponent Name of the component that will initialize IUT and handle default UT messages
*/
function
f_cf07Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf07Up
(
in
charstring
p_mainUtComponent
:=
c_compMTC
,
Scenario
p_scenario
:=
e_staticPosition
)
runs
on
ItsMtc
/* TITAN TODO
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Variables
var
PositionTable
v_positionTable
:=
{};
...
...
@@ -734,7 +734,7 @@ module LibItsGeoNetworking_Functions {
/**
* @desc Deletes configuration cf06
*/
function
f_cf07Down
()
runs
on
ItsMtc
mtc
ItsMtc
system
ItsGeoNetworkingSystem
{
function
f_cf07Down
()
runs
on
ItsMtc
/* TITAN TODO:
mtc ItsMtc system ItsGeoNetworkingSystem
*/
{
// Local variables
var
integer
i
;
...
...
@@ -1689,15 +1689,15 @@ module LibItsGeoNetworking_Functions {
var
GeoNetworkingInd
v_msg
;
f_sendGeoNetMessage
(
m_geoNwReq_linkLayerBroadcast
(
m_geoNwPdu
(
m_geoNwLsRequestPacket
(
p_reqSrcPosVector
,
p_reqSeqNumber
,
p_gnAddress
m_geoNwReq_linkLayerBroadcast
(
m_geoNwPdu
(
m_geoNwLsRequestPacket
(
p_reqSrcPosVector
,
p_reqSeqNumber
,
p_gnAddress
)
)
)
)
);
tc_ac
.
start
;
...
...
ttcn/IVIM/LibItsIvim_Functions.ttcn
View file @
a61accf1
...
...
@@ -243,7 +243,7 @@ module LibItsIvim_Functions {
*/
function
f_cfUp
(
in
charstring
p_certificateId
:=
PX_CERT_FOR_TS
)
runs
on
ItsIvim
system
ItsIvimSystem
{
)
runs
on
ItsIvim
/* TITAN TODO:
system ItsIvimSystem
*/
{
map
(
self
:
acPort
,
system
:
acPort
);
map
(
self
:
utPort
,
system
:
utPort
);
...
...
@@ -258,7 +258,7 @@ module LibItsIvim_Functions {
/**
* @desc Deletes default configuration
*/
function
f_cfDown
()
runs
on
ItsIvim
system
ItsIvimSystem
{
function
f_cfDown
()
runs
on
ItsIvim
/* TITAN TODO:
system ItsIvimSystem
*/
{
// Initialise secured mode
f_uninitialiseSecuredMode
();
...
...
ttcn/Ipv6OverGeoNetworking/LibItsIpv6OverGeoNetworking_Functions.ttcn
View file @
a61accf1
...
...
@@ -38,7 +38,7 @@ module LibItsIpv6OverGeoNetworking_Functions {
* - two ITS nodes (nodeA, nodeB)
* - three GVLs
*/
function
f_cf01UpGn6
()
runs
on
ItsIpv6OverGeoNetworking
system
ItsIpv6OverGeoNetworkingSystem
{
function
f_cf01UpGn6
()
runs
on
ItsIpv6OverGeoNetworking
/* TITAN TODO:
system ItsIpv6OverGeoNetworkingSystem
*/
{
// Variables
var
float
v_distance
;
...
...
@@ -73,7 +73,7 @@ module LibItsIpv6OverGeoNetworking_Functions {
/**
* @desc Deletes configuration cf01Gn6
*/
function
f_cf01DownGn6
()
runs
on
ItsIpv6OverGeoNetworking
system
ItsIpv6OverGeoNetworkingSystem
{
function
f_cf01DownGn6
()
runs
on
ItsIpv6OverGeoNetworking
/* TITAN TODO:
system ItsIpv6OverGeoNetworkingSystem
*/
{
// Map
unmap
(
self
:
ipv6OverGeoNetworkingPort
,
system
:
ipv6OverGeoNetworkingPort
);
...
...
ttcn/MapemSpatem/LibItsMapemSpatem_Functions.ttcn
View file @
a61accf1
...
...
@@ -225,7 +225,7 @@ module LibItsMapemSpatem_Functions {
*/
function
f_cfUp
(
in
charstring
p_certificateId
:=
PX_CERT_FOR_TS
)
runs
on
ItsMapemSpatem
system
ItsMapemSpatemSystem
{
)
runs
on
ItsMapemSpatem
/* TITAN TODO:
system ItsMapemSpatemSystem
*/
{
map
(
self
:
acPort
,
system
:
acPort
);
map
(
self
:
utPort
,
system
:
utPort
);
...
...
@@ -243,7 +243,7 @@ module LibItsMapemSpatem_Functions {
/**
* @desc Deletes default configuration
*/
function
f_cfDown
()
runs
on
ItsMapemSpatem
system
ItsMapemSpatemSystem
{
function
f_cfDown
()
runs
on
ItsMapemSpatem
/* TITAN TODO:
system ItsMapemSpatemSystem
*/
{
// Initialise secured mode
f_uninitialiseSecuredMode
();
...
...
ttcn/SremSsem/LibItsSremSsem_Functions.ttcn
View file @
a61accf1
...
...
@@ -258,7 +258,7 @@ module LibItsSremSsem_Functions {
*/
function
f_cfUp
(
in
charstring
p_certificateId
:=
PX_CERT_FOR_TS
)
runs
on
ItsSremSsem
system
ItsSremSsemSystem
{
)
runs
on
ItsSremSsem
/* TITAN TODO:
system ItsSremSsemSystem
*/
{
map
(
self
:
acPort
,
system
:
acPort
);
map
(
self
:
utPort
,
system
:
utPort
);
...
...
@@ -279,7 +279,7 @@ module LibItsSremSsem_Functions {
/**
* @desc Deletes default configuration
*/
function
f_cfDown
()
runs
on
ItsSremSsem
system
ItsSremSsemSystem
{
function
f_cfDown
()
runs
on
ItsSremSsem
/* TITAN TODO:
system ItsSremSsemSystem
*/
{
// Initialise secured mode
f_uninitialiseSecuredMode
();
...
...
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