| /////////////////////////////////////////////////////////////////////////////// |
| // // |
| // Copyright (c) 2000-2019 Ericsson Telecom AB // |
| // // |
| // All rights reserved. This program and the accompanying materials // |
| // are made available under the terms of the Eclipse Public License v2.0 // |
| // which accompanies this distribution, and is available at // |
| // https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html // |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| /////////////////////////////////////////////////////////// |
| // Module: EPTF_CLL_ILogString_Definitions |
| // |
| // Purpose: |
| // This module contains the type and constant definitions of the EPTF ILogString feature. |
| // |
| // Module Parameters: |
| // - |
| // |
| // Module depends on: |
| // <EPTF_CLL_ILogBase_Definitions> |
| // |
| // Current Owner: |
| // Ildiko Vancsa (EILDVNC) |
| // |
| // Last Review Date: |
| // 2012-06-05 |
| // |
| // Detailed Comments: |
| // - |
| // |
| /////////////////////////////////////////////////////////////// |
| |
| module EPTF_CLL_ILogString_Definitions { |
| |
| import from EPTF_CLL_ILog_Definitions all; |
| |
| |
| /////////////////////////////////////////////////////////// |
| // Type: EPTF_ILogString_LogItem |
| // |
| // Purpose: |
| // Descriptor of log items. |
| // |
| // Elements: |
| // logItem - *integer* - the content of the log item, it will be stored in a database |
| // timeOfLog - *float* - time value, which stores the moment of the log item generation with milliseconds granularity |
| // |
| // Detailed Comments: |
| // |
| /////////////////////////////////////////////////////////// |
| type record EPTF_ILogString_LogItem { |
| charstring logItem, |
| float timeOfLog |
| } |
| |
| /////////////////////////////////////////////////////////// |
| // Type: EPTF_ILogString_LogItem_List |
| // |
| // Purpose: |
| // List of <EPTF_ILogString_LogItem> elements. |
| // |
| /////////////////////////////////////////////////////////// |
| type record of EPTF_ILogString_LogItem EPTF_ILogString_LogItem_List; |
| |
| /////////////////////////////////////////////////////////// |
| // Type: EPTF_ILogString_CT |
| // |
| // Purpose: |
| // List of component level elements. |
| // |
| // Elements: |
| // v_EPTF_ILogString_initialized - *boolean* - prevents multiple init by calling <EPTF_ILogString_init_CT> several times |
| // v_EPTF_ILogString_LogItem_List - <EPTF_ILogString_LogItem_List> - database for storing the log items |
| // v_EPTF_ILogString_LogItem_List_dbId - *integer* - the id of the database after registering into the EmeregencyLog feature |
| // |
| // Detailed Comments: |
| // |
| /////////////////////////////////////////////////////////// |
| type component EPTF_ILogString_CT extends EPTF_ILog_CT { |
| |
| private var boolean v_EPTF_ILogString_initialized := false; |
| private var EPTF_ILogString_LogItem_List v_EPTF_ILogString_logItem_List; |
| private var integer v_EPTF_ILogString_logItem_List_dbId; |
| |
| } |
| } |