LibItsCommon_Templates.ttcn 2.02 KB
Newer Older
/**
 *  @author      ETSI / STF405 / STF449
 *  @version     $URL$
 *               $Id$
 *  @desc        Module containing base template definitions for DENM
 *
 */
module LibItsCommon_Templates {
    
    import from ITS_Container language "ASN.1:1997" all;

    // LibItsCommon
    import from LibItsCommon_TypesAndValues all;
    
    group taPrimitives {
        
        template AcGnssResponse m_acGnssResponseSuccess := true;
        
        template AcGnssDistanceCovered m_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
    
}