ISiMonitorService.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *---------------------------------------------------------------------------
00003  *
00004  * ISiMonitorService.idl
00005  *
00006  * Copyright (c) 2010 Motorola Inc. All Rights Reserved.
00007  *
00008  *---------------------------------------------------------------------------
00009  */
00010 
00011 #ifndef ISIMONITORSERVICE_IDL
00012 #define ISIMONITORSERVICE_IDL
00013 
00014 #include "IScannerService.idl"
00015 #include "TToiInvalidArgumentException.idl"
00016 
00030 //@ [EventTarget(EventObserver=IToiSiMonitorObserver)]
00031 //@ [Service(Name=SiMonitorService)]
00032 //@ [Language=C++]
00033 interface ISiMonitorService
00034 {
00036   enum TLogoType
00037   {
00038     LOGO_TYPE_SD_4_3_SMALL,
00039     LOGO_TYPE_SD_16_9_SMALL,
00040     LOGO_TYPE_HD_SMALL,
00041     LOGO_TYPE_SD_4_3_LARGE,
00042     LOGO_TYPE_SD_16_9_LARGE,
00043     LOGO_TYPE_HD_LARGE
00044   };
00045 
00046 
00048   struct TBasicServiceInfo 
00049   {
00050     IScannerService::TDeliverySystemType Type;
00052     long OriginalNetworkId;
00053 
00055     long TransportStreamId;
00056 
00058     long ServiceId;
00059   };
00060  
00064   const long MONITOR_ISDB_LOGO    = (1 << 0);
00065 
00068   const long MONITOR_NETWORK = (1 << 1);
00069 
00072   const long MONITOR_TIME    = (1 << 2);
00073 
00076   const long MONITOR_ISDB_FREQUENCY_REPACKING = (1 << 3);
00077 
00078 
00099   void SetMonitorMask(in string address, in long mask)
00100     raises (TToiInvalidArgumentException);
00101 
00102 
00121   void GetMonitorMask(in string address, out long mask)
00122     raises (TToiInvalidArgumentException);
00123 
00124 
00143   void StartLogoCollection(in long networkId)
00144     raises (TToiInvalidArgumentException,
00145             TToiNotEnoughResourcesException);
00146 
00147 
00162   void StopLogoCollection(in long networkId)
00163     raises (TToiInvalidArgumentException,
00164             TToiInvalidPreconditionException);
00165 };
00166 
00167 #endif