statemanagementirpconstdefs.idl

来自「UCS (Ultra Corba Simulator) is one more 」· IDL 代码 · 共 100 行

IDL
100
字号
//File:- StateManagementIRPConstDefs.idl
#ifndef _STATE_MANAGEMENT_IRP_CONST_DEFS_IDL_
#define _STATE_MANAGEMENT_IRP_CONST_DEFS_IDL_

#include "CosNotification.idl"
#include "ManagedGenericIRPConstDefs.idl"
#include <StateManagementIRPCommonConstDefs.idl>
#include <StateManagementIRPOptConstDefs.idl>

// This statement must appear after all include statements
#pragma prefix "3gppsa5.org"

/* ## Module: StateManagementIRPConstDefs
This module contains commonly used definitions for State Management IRP
========================================================================
*/
module StateManagementIRPConstDefs
{
/*
  Constant definitions for state management notifications uses when populating the
  Cos::Structured event.
  The "name" party of the structured event carries the following constant definitions
  appropriate to the state being notified.
  Refer to TS 32.663 regarding how to populate the structured event
*/
   interface AttributeNameValue {
      const string OPERATIONAL_STATE    = "operationalState";
      const string USAGE_STATE          = "usageState";
      const string ADMINISTRATIVE_STATE = "administrativeState";
      const string ALARM_STATUS         = "alarmStatus";
      const string PROCEDURAL_STATUS    = "proceduralStatus";
      const string AVAILABILITY_STATUS  = "availabilityStatus";
      const string CONTROL_STATUS       = "controlStatus";
      const string STANDBY_STATUS       = "standbyStatus";
      const string UNKNOWN_STATUS       = "unknownStatus";
   };


/*
   The following structures provide the new state value,
   and the optional old state value
   The structures are passed in the value part of the cos structured event
*/
   struct OperationalStateOldNewValue{
      StateManagementIRPCommonConstDefs::OperationalState new;
      StateManagementIRPOptConstDefs::OperationalStateTypeOpt old;
   };


   struct UsageStateOldNewValue{
      StateManagementIRPCommonConstDefs::UsageState new;
      StateManagementIRPOptConstDefs::UsageStateTypeOpt old;
   };


   struct AdministrativeStateOldNewValue{
      StateManagementIRPCommonConstDefs::AdministrativeState new;
      StateManagementIRPOptConstDefs::AdministrativeStateTypeOpt old;
   };


   struct AlarmStatusOldNewValue{
      StateManagementIRPCommonConstDefs::AlarmStatus new;
      StateManagementIRPOptConstDefs::AlarmStatusTypeOpt old;
   };


   struct ProceduralStatusOldNewValue{
      StateManagementIRPCommonConstDefs::ProceduralStatusValues new;
      StateManagementIRPOptConstDefs::ProceduralStatusTypeOpt old;
   };


   struct AvailabilityStatusOldNewValue{
      StateManagementIRPCommonConstDefs::AvailabilityStatusValues new;
      StateManagementIRPOptConstDefs:: AvailabilityStatusTypeOpt old;
   };


   struct ControlStatusOldNewValue{
      StateManagementIRPCommonConstDefs::ControlStatusValues new;
      StateManagementIRPOptConstDefs::ControlStatusTypeOpt old;
   };


   struct StandbyStatusOldNewValue{
      StateManagementIRPCommonConstDefs::StandbyStatus new;
      StateManagementIRPOptConstDefs::StandbyStatusTypeOpt old;
   };


   struct UnknownStatusOldNewValue{
      StateManagementIRPCommonConstDefs::UnknownStatus new;
      StateManagementIRPOptConstDefs::UnknownStatusTypeOpt old;
   };


};
#endif // _STATE_MANAGEMENT_IRP_CONST_DEFS_IDL_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?