/extra/kbs/check_outs/co_155322/STABLE_elymus_firebrick_7/dist/idl/js/toi/ToiFrontPanelService.idl
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * ToiFrontPanelService.idl
00005  *
00006  * This file was created by the Motorola IDL backend, 
00007  * which is based on the OmniORB IDL parser.
00008  * Please do not modify.
00009  *
00010  * Copyright (c) 2009 Motorola Inc. All Rights Reserved.
00011  *
00012  *--------------------------------------------------------------------
00013  */
00014 
00015 #ifndef TOIFRONTPANELSERVICE_IDL
00016 #define TOIFRONTPANELSERVICE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiOperationNotSupportedException.idl"
00020 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiLedState)]
00021 interface ToiFrontPanelServiceLedState;
00022 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiLedInfo)]
00023 interface ToiFrontPanelServiceLedInfo;
00024 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiSegmentDisplayState)]
00025 interface ToiFrontPanelServiceSegmentDisplayState;
00026 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiSegmentDisplayInfo)]
00027 interface ToiFrontPanelServiceSegmentDisplayInfo;
00028 
00036 //@ [Service(Name=FrontPanelService)]
00039 interface ToiFrontPanelService {
00040 
00043   //@ [Enum]
00044   typedef long TToiColor;
00047   
00053   //@ [Enumerator(Enum=TToiColor,Name=COLOR_OFF)]
00054   const TToiColor COLOR_OFF = 0;
00055   
00061   //@ [Enumerator(Enum=TToiColor,Name=COLOR_GREEN)]
00062   const TToiColor COLOR_GREEN = 1;
00063   
00069   //@ [Enumerator(Enum=TToiColor,Name=COLOR_RED)]
00070   const TToiColor COLOR_RED = 2;
00071   
00078   //@ [Enumerator(Enum=TToiColor,Name=COLOR_ORANGE)]
00079   const TToiColor COLOR_ORANGE = 3;
00080   
00086   //@ [Enumerator(Enum=TToiColor,Name=COLOR_BLUE)]
00087   const TToiColor COLOR_BLUE = 4;
00088   
00094   //@ [Enumerator(Enum=TToiColor,Name=COLOR_YELLOW)]
00095   const TToiColor COLOR_YELLOW = 5;
00096   
00102   //@ [Enumerator(Enum=TToiColor,Name=COLOR_WHITE)]
00103   const TToiColor COLOR_WHITE = 6;
00104   
00106 
00107   typedef sequence < TToiColor > TToiColorSequence;
00108   
00111   //@ [Enum]
00112   typedef long TToiSegmentDisplayModes;
00115   
00121   //@ [Enumerator(Enum=TToiSegmentDisplayModes,Name=SEGMENT_DISPLAY_MODE_TEXT)]
00122   const TToiSegmentDisplayModes SEGMENT_DISPLAY_MODE_TEXT = 0;
00123   
00131   //@ [Enumerator(Enum=TToiSegmentDisplayModes,Name=SEGMENT_DISPLAY_MODE_CLOCK)]
00132   const TToiSegmentDisplayModes SEGMENT_DISPLAY_MODE_CLOCK = 1;
00133   
00135 
00143   //@ [OutParam(Name=numberOfLeds,Position=1,IsBinary=0, Bound=0)]
00144   long getLedCount();
00145   
00159   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00160   ToiFrontPanelServiceLedInfo getLedInfo(in long index)
00161    raises (TToiInvalidArgumentException);
00162   
00181   void setLedState(in long index, 
00182         in ToiFrontPanelServiceLedState state)
00183    raises (TToiInvalidArgumentException, TToiOperationNotSupportedException);
00184   
00198   //@ [OutParam(Name=state,Position=2,IsBinary=0, Bound=0)]
00199   ToiFrontPanelServiceLedState getLedState(in long index)
00200    raises (TToiInvalidArgumentException);
00201   
00211   //@ [OutParam(Name=info,Position=1,IsBinary=0, Bound=0)]
00212   ToiFrontPanelServiceSegmentDisplayInfo getSegmentDisplayInfo()
00213    raises (TToiOperationNotSupportedException);
00214   
00230   void setSegmentDisplayState(in ToiFrontPanelServiceSegmentDisplayState state)
00231    raises (TToiInvalidArgumentException, TToiOperationNotSupportedException);
00232   
00243   //@ [OutParam(Name=state,Position=1,IsBinary=0, Bound=0)]
00244   ToiFrontPanelServiceSegmentDisplayState getSegmentDisplayState()
00245    raises (TToiOperationNotSupportedException);
00246   
00253   //@ [OutParam(Name=isSupported,Position=1,IsBinary=0, Bound=0)]
00254   boolean isSegmentDisplaySupported();
00255   
00256 };
00257 
00258 #endif