/** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @version $URL$ * $Id$ * @desc Module containing base template definitions for DENM * @copyright ETSI Copyright Notification * No part may be reproduced except as authorized by written permission. * The copyright and the foregoing restriction extend to reproduction in all media. * All rights reserved. * */ module LibItsCommon_Templates { import from ITS_Container language "ASN.1:1997" all; // LibItsCommon import from LibItsCommon_TypesAndValues all; group taPrimitives { //FIXME RGY the simple boolean result has been changed to a union // template (value) AcSecResponse m_acSecResponseSuccess := true; template (value) AdapterControlResults m_acSecResponseSuccess := {acSecResponse:=true}; /** * @desc Enable security support */ template (value) AcSecPrimitive m_acEnableSecurity( in charstring p_certificateId, in boolean p_enforceSecurity := false ) := { acEnableSecurity := { certificateId := p_certificateId, enforceSecurity := p_enforceSecurity } } // End of template m_acEnableSecurity /** * @desc Disable security support */ template (value) AcSecPrimitive m_acDisableSecurity := { acDisableSecurity := { disable := true } } // End of template m_acDisableSecurity //FIXME RGY As discussed, port in type is changed to a top-level union type // template AcGnssResponse m_acGnssResponseSuccess := true; template AdapterControlResults m_acGnssResponseSuccess := {acGnssResponse:=true}; //FIXME RGY As discussed, port in type is changed to a top-level union type // template AcGnssDistanceCovered m_acGnssDistanceCovered := true; template AdapterControlResults m_acGnssDistanceCovered := {acGnssDistanceCovered:=true}; /** * @desc Testsystem will load GNSS scenario */ template AcGnssPrimitive m_loadScenario(Scenario p_scenario) := { loadScenario := { scenario := p_scenario } } /** * @desc Testsystem will start GNSS scenario */ template AcGnssPrimitive m_startScenario := { startScenario := { } } /** * @desc Testsystem will stop GNSS scenario */ template AcGnssPrimitive m_stopScenario := { stopScenario := { } } /** * @desc Testsystem will request indication if distance was covered */ template AcGnssPrimitive m_distanceToCover(float p_distance) := { distanceToCover := { distance := p_distance } } /** * @desc Testsystem will change the speed (delta value) */ template AcGnssPrimitive m_changeScenarioSpeed(SpeedValue p_deltaSpeedValue) := { changeSpeed := { deltaSpeed := p_deltaSpeedValue } } /** * @desc Testsystem will change the heading (delta value) */ template AcGnssPrimitive m_changeScenarioHeading(HeadingValue p_deltaHeadingValue) := { changeHeading := { deltaHeading := p_deltaHeadingValue } } } // end taPrimitives }