// This C++ header file was generated by the TTCN-3 compiler
// of the TTCN-3 Test Executor version 11.1.0
// The generation of user and time information were disabled by the -D flag.

// Copyright (c) 2000-2025 Ericsson Telecom AB

// Do not edit this file unless you know what you are doing.

#ifndef BTS__Tests__OML_HH
#define BTS__Tests__OML_HH

#ifdef TITAN_RUNTIME_2
#error Generated code does not match with used runtime.\
 Code was generated without -R option but -DTITAN_RUNTIME_2 was used.
#endif

/* Header file includes */

#include <TTCN3.hh>
#include "BTS_Tests.hh"

#if TTCN3_VERSION != 110100
#error Version mismatch detected.\
 Please check the version of the TTCN-3 compiler and the base library.\
 Run make clean and rebuild the project if the version of the compiler changed recently.
#endif

#ifndef LINUX
#error This file should be compiled on LINUX
#endif

#undef BTS__Tests__OML_HH
#endif

namespace BTS__Tests__OML {

/* Forward declarations of classes */

typedef PreGenRecordOf::PREGEN__RECORD__OF__INTEGER ArfcnList;
typedef PreGenRecordOf::PREGEN__RECORD__OF__INTEGER_template ArfcnList_template;

} /* end of namespace */

#ifndef BTS__Tests__OML_HH
#define BTS__Tests__OML_HH

namespace BTS__Tests__OML {

/* Type definitions */

typedef COMPONENT BSC__OML__CT;
typedef COMPONENT_template BSC__OML__CT_template;

/* Class definitions */

class as__Tguard_Default : public Default_Base {
public:
as__Tguard_Default();
alt_status call_altstep(boolean first_alt_run);
};

class as__SwAct_Default : public Default_Base {
public:
as__SwAct_Default();
alt_status call_altstep(boolean first_alt_run);
};

class as__IPA__evt_Default : public Default_Base {
public:
as__IPA__evt_Default();
alt_status call_altstep(boolean first_alt_run);
};


/* Function prototypes */

extern alt_status as__Tguard_instance(boolean first_alt_run);
extern void as__Tguard(boolean nodefault_modifier);
extern Default_Base *activate_as__Tguard();
extern alt_status as__SwAct_instance(boolean first_alt_run);
extern void as__SwAct(boolean nodefault_modifier);
extern Default_Base *activate_as__SwAct();
extern alt_status as__IPA__evt_instance(boolean first_alt_run);
extern void as__IPA__evt(boolean nodefault_modifier);
extern Default_Base *activate_as__IPA__evt();
extern void f__init__oml(const CHARSTRING& id);
extern void start_f__init__oml(const COMPONENT& component_reference, const CHARSTRING& id);
extern void f__init__pcu(PCUIF__CodecPort::PCUIF__CODEC__PT& pt, const CHARSTRING& , INTEGER& pcu__conn__id, PCUIF__Types::PCUIF__Message& pcu__last__info);
extern void f__shutdown__helper();
extern void start_f__shutdown__helper(const COMPONENT& component_reference);
extern void f__oml__opstart(const AbisOML__Types::OML__FOM__ObjectClass_template& obj__class, const AbisOML__Types::OML__FOM__ObjectInstance_template& obj__inst, const BOOLEAN& exp__fail, const AbisOML__Types::OML__FOM__OperationalState_template& exp__stchg);
extern void start_f__oml__opstart(const COMPONENT& component_reference, const AbisOML__Types::OML__FOM__ObjectClass_template& obj__class, const AbisOML__Types::OML__FOM__ObjectInstance_template& obj__inst, const BOOLEAN& exp__fail, const AbisOML__Types::OML__FOM__OperationalState_template& exp__stchg);
extern void f__oml__chg__adm__st(const AbisOML__Types::OML__FOM__ObjectClass_template& obj__class, const AbisOML__Types::OML__FOM__ObjectInstance_template& obj__inst, const AbisOML__Types::OML__FOM__AdministrativeState_template& adm__st, const BOOLEAN& exp__fail);
extern void start_f__oml__chg__adm__st(const COMPONENT& component_reference, const AbisOML__Types::OML__FOM__ObjectClass_template& obj__class, const AbisOML__Types::OML__FOM__ObjectInstance_template& obj__inst, const AbisOML__Types::OML__FOM__AdministrativeState_template& adm__st, const BOOLEAN& exp__fail);
extern void f__oml__radio__attr(const INTEGER& trx__nr);
extern void start_f__oml__radio__attr(const COMPONENT& component_reference, const INTEGER& trx__nr);
extern void f__oml__ts__attr(const INTEGER& trx__nr, const INTEGER& ts__nr);
extern void start_f__oml__ts__attr(const COMPONENT& component_reference, const INTEGER& trx__nr, const INTEGER& ts__nr);
extern void f__oml__bts__setattr();
extern void start_f__oml__bts__setattr(const COMPONENT& component_reference);
extern void f__oml__send__exp__no__resp(const AbisOML__Types::OML__PDU_template& tx, const CHARSTRING& err__msg, const FLOAT& );
extern void start_f__oml__send__exp__no__resp(const COMPONENT& component_reference, const AbisOML__Types::OML__PDU_template& tx, const CHARSTRING& err__msg, const FLOAT& tout);
extern AbisOML__Types::OML__PDU f__oml__exp__rx(const AbisOML__Types::OML__PDU_template& exp__rx, const CHARSTRING& err__msg);
extern void start_f__oml__exp__rx(const COMPONENT& component_reference, const AbisOML__Types::OML__PDU_template& exp__rx, const CHARSTRING& err__msg);
extern void f__oml__send__exp__fail__rep(const AbisOML__Types::OML__PDU_template& tx, const CHARSTRING& , const AbisOML__Types::OML__FOM__EventType_template& evt, const AbisOML__Types::OML__FOM__Severity_template& severity, const AbisOML__Types::OML__FOM__ProbableCause_template& cause, const FLOAT& );
extern void start_f__oml__send__exp__fail__rep(const COMPONENT& component_reference, const AbisOML__Types::OML__PDU_template& tx, const CHARSTRING& err__msg, const AbisOML__Types::OML__FOM__EventType_template& evt, const AbisOML__Types::OML__FOM__Severity_template& severity, const AbisOML__Types::OML__FOM__ProbableCause_template& cause, const FLOAT& tout);
extern void f__oml__send__exp__nack(const AbisOML__Types::OML__PDU_template& tx, const AbisOML__Types::OML__FOM__NackCause_template& exp__cause, const FLOAT& );
extern void start_f__oml__send__exp__nack(const COMPONENT& component_reference, const AbisOML__Types::OML__PDU_template& tx, const AbisOML__Types::OML__FOM__NackCause_template& exp__cause, const FLOAT& tout);
extern void f__oml__getattr(const AbisOML__Types::OML__PDU_template& exp__rx);
extern void start_f__oml__getattr(const COMPONENT& component_reference, const AbisOML__Types::OML__PDU_template& exp__rx);
extern verdicttype testcase_TC__oml__selftest(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__oml__nothing(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__mdisc(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__msgtype(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__short__length(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__long__length(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__placement(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__seq(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__obj__class(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__bts__nr(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__trx__nr(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__wrong__ts__nr(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__radio__carrier__opstart(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__radio__carrier__opstart__noattr(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__bts__opstart(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__bts__opstart__noattr(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__ts__opstart(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__ts__opstart__noattr(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__initial__state__reports(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__ipa__rsl__connect__nack(boolean has_timer, double timer_value);
extern verdicttype testcase_TC__ipa__osmo__pcu__anr__fwd(boolean has_timer, double timer_value);
extern void module_control_part();
extern void pre_init_module();
extern void post_init_module();
extern boolean set_module_param(Module_Param& param);
extern void log_module_param();
extern boolean init_comp_type(const char *component_type, boolean init_base_comps);
extern boolean init_system_port(const char* component_type, const char* port_name);
extern boolean start_ptc_function(const char *function_name, Text_Buf& function_arguments);

/* Global variable declarations */

extern const INTEGER& NUM__TRX;
extern INTEGER const_NUM__TRX;
extern const TTCN_Typedescriptor_t ArfcnList_descr_;
extern const XERdescriptor_t ArfcnList_0_xer_;
extern const TTCN_OERdescriptor_t ArfcnList_0_oer_;
extern const TTCN_Typedescriptor_t ArfcnList_0_descr_;
extern UNIVERSAL_CHARSTRING ArfcnList_0_default_coding;
extern const CHARSTRING& mp__oml__ip;
extern CHARSTRING modulepar_mp__oml__ip;
extern const INTEGER& mp__oml__port;
extern INTEGER modulepar_mp__oml__port;
extern const ArfcnList& mp__arfcn;
extern ArfcnList modulepar_mp__arfcn;
extern const AbisOML__Types::OML__FOM__InterfLevBoundaries& mp__interf__bound;
extern AbisOML__Types::OML__FOM__InterfLevBoundaries modulepar_mp__interf__bound;
extern const AbisOML__Types::OML__FOM__T200& mp__t200;
extern AbisOML__Types::OML__FOM__T200 modulepar_mp__t200;
extern const INTEGER& mp__max__ta;
extern INTEGER modulepar_mp__max__ta;
extern const INTEGER& mp__load__threshold;
extern INTEGER modulepar_mp__load__threshold;
extern const INTEGER& mp__load__ind__period;
extern INTEGER modulepar_mp__load__ind__period;
extern const INTEGER& mp__rach__b__thresh;
extern INTEGER modulepar_mp__rach__b__thresh;
extern const INTEGER& mp__loadavg__slots;
extern INTEGER modulepar_mp__loadavg__slots;
extern const INTEGER& mp__air__timer;
extern INTEGER modulepar_mp__air__timer;
extern const INTEGER& mp__ny1;
extern INTEGER modulepar_mp__ny1;
extern const INTEGER& mp__bsic;
extern INTEGER modulepar_mp__bsic;
extern const CHARSTRING& mp__pcu__socket;
extern CHARSTRING modulepar_mp__pcu__socket;
extern const TTCN_Typedescriptor_t& BSC__OML__CT_descr_;
extern COMPONENT BSC__OML__CT_component_vc__IPA__OML;
extern IPA__Emulation::IPA__OML__PT BSC__OML__CT_component_OML;
extern INTEGER BSC__OML__CT_component_g__bts__nr;
extern IPA__Emulation::IPA__OSMO__PCU__PT BSC__OML__CT_component_IPA__OSMO__PCU;
extern PCUIF__CodecPort::PCUIF__CODEC__PT BSC__OML__CT_component_PCU;
extern INTEGER BSC__OML__CT_component_g__pcu__conn__id;
extern PCUIF__Types::PCUIF__Message BSC__OML__CT_component_g__pcu__last__info;
extern BITSTRING BSC__OML__CT_component_g__bts__features;
extern TIMER BSC__OML__CT_component_T__oml__guard;
extern const BOOLEAN& f__oml__opstart_exp__fail_defval;
extern BOOLEAN const_f__oml__opstart_exp__fail_defval;
extern const AbisOML__Types::OML__FOM__OperationalState_template& f__oml__opstart_exp__stchg_defval;
extern AbisOML__Types::OML__FOM__OperationalState_template template_f__oml__opstart_exp__stchg_defval;
extern const BOOLEAN& f__oml__chg__adm__st_exp__fail_defval;
extern BOOLEAN const_f__oml__chg__adm__st_exp__fail_defval;
extern const FLOAT& f__oml__send__exp__no__resp_tout_defval;
extern FLOAT const_f__oml__send__exp__no__resp_tout_defval;
extern const AbisOML__Types::OML__FOM__EventType_template& f__oml__send__exp__fail__rep_evt_defval;
extern AbisOML__Types::OML__FOM__EventType_template template_f__oml__send__exp__fail__rep_evt_defval;
extern const AbisOML__Types::OML__FOM__Severity_template& f__oml__send__exp__fail__rep_severity_defval;
extern AbisOML__Types::OML__FOM__Severity_template template_f__oml__send__exp__fail__rep_severity_defval;
extern const AbisOML__Types::OML__FOM__ProbableCause_template& f__oml__send__exp__fail__rep_cause_defval;
extern AbisOML__Types::OML__FOM__ProbableCause_template template_f__oml__send__exp__fail__rep_cause_defval;
extern const FLOAT& f__oml__send__exp__fail__rep_tout_defval;
extern FLOAT const_f__oml__send__exp__fail__rep_tout_defval;
extern const FLOAT& f__oml__send__exp__nack_tout_defval;
extern FLOAT const_f__oml__send__exp__nack_tout_defval;
extern const AbisOML__Types::OML__PDU_template& f__oml__getattr_exp__rx_defval;
extern AbisOML__Types::OML__PDU_template template_f__oml__getattr_exp__rx_defval;
extern const BITSTRING bs_0;
extern const OCTETSTRING os_0,
os_11,
os_8,
os_1,
os_2,
os_7,
os_10,
os_6,
os_9,
os_5,
os_3,
os_4;
extern const CHARSTRING cs_2,
cs_1,
cs_0,
cs_5,
cs_7,
cs_3,
cs_15,
cs_12,
cs_6,
cs_28,
cs_29,
cs_32,
cs_34,
cs_33,
cs_14,
cs_8,
cs_26,
cs_27,
cs_13,
cs_30,
cs_31,
cs_23,
cs_9,
cs_11,
cs_22,
cs_16,
cs_20,
cs_24,
cs_25,
cs_4,
cs_10,
cs_17,
cs_19,
cs_18,
cs_21;
extern const unsigned char module_checksum[];
extern TTCN_Module module_object;
extern const RuntimeVersionChecker ver_checker;

} /* end of namespace */

#endif
