Commit 39122ca5 authored by tepelmann's avatar tepelmann
Browse files

Pixits are accessed indirectly via getter functions.

parent e50575fc
Loading
Loading
Loading
Loading
+44 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@
    import from LibIts_Interface all;
    import from LibIts_Interface all;
    import from LibItsBtp_TypesAndValues all;
    import from LibItsBtp_TypesAndValues all;
    import from LibItsBtp_Templates all;
    import from LibItsBtp_Templates all;
    import from LibItsBtp_Pixits all;
    import from LibItsCommon_Functions all;
    import from LibItsCommon_Functions all;
     
     
    group configurationFunctions {
    group configurationFunctions {
@@ -102,4 +103,47 @@
        
        
    } // end postambles
    } // end postambles
    
    
    group getFunctions {
        
        /**
         * @desc Gets the BTP source port of the IUT.
         * @return 
         */
        function f_getBtpSrcPort() return BtpPortId {
            return PX_SOURCE_PORT;
        }
        
        /**
         * @desc Gets the BTP destination port of the IUT.
         * @return 
         */
        function f_getBtpDstPort() return BtpPortId {
            return PX_DESTINATION_PORT;
        }
        
        /**
         * @desc Gets a unknown BTP destination port of the IUT.
         * @return 
         */
        function f_getBtpDstPort_Unknown() return BtpPortId {
            return PX_UNKNOWN_DESTINATION_PORT;
        }
        
        /**
         * @desc Gets the BTP destination port info of the IUT.
         * @return 
         */
        function f_getBtpDstPortInfo() return BtpPortId {
            return PX_DESTINATION_PORT_INFO;
        }
        
        /**
         * @desc Gets the BTP payload to use.
         * @return 
         */
        function f_getBtpPayload() return BtpPayload {
            return PX_PAYLOAD;
        }
        
    } // end getFunctions
} // end LibItsBtp_Functions
} // end LibItsBtp_Functions
 No newline at end of file