00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiDiagnosticsDataModel.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 TOIDIAGNOSTICSDATAMODEL_IDL 00016 #define TOIDIAGNOSTICSDATAMODEL_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiPermissionDeniedException.idl" 00020 #include "ToiEventTarget.idl" 00021 00022 //@ [Struct(Interface=IToiDiagnosticsDataModel,Name=TToiObjectParameter)] 00023 interface ToiDiagnosticsDataModelObjectParameter; 00024 //@ [Struct(Interface=IToiDiagnosticsDataModel,Name=TToiObjectInfo)] 00025 interface ToiDiagnosticsDataModelObjectInfo; 00026 00032 //@ [EventTarget(EventObserver=IToiDiagnosticsDataModelObserver)] 00033 00034 //@ [ReleaseInstance(Method=ReleaseInstance)] 00035 interface ToiDiagnosticsDataModel : ToiEventTarget { 00036 00039 00043 const long ON_OBJECTS_CHANGED = 900; 00044 00048 const long ON_OBJECTS_ADDED = 901; 00049 00053 const long ON_OBJECTS_REMOVED = 902; 00054 00056 00059 typedef string TToiObjectIdentifier; 00060 00063 typedef sequence < ToiDiagnosticsDataModelObjectParameter > TToiObjectParameterSequence; 00064 00067 typedef sequence < TToiObjectIdentifier > TToiObjectIdentifierSequence; 00068 00071 typedef sequence < ToiDiagnosticsDataModelObjectInfo > TToiObjectInfoSequence; 00072 00089 //@ [OutParam(Name=infoObject,Position=2,IsBinary=0, Bound=0)] 00090 ToiDiagnosticsDataModelObjectInfo getObject(in TToiObjectIdentifier objectId) 00091 raises (TToiInvalidArgumentException); 00092 00108 void setObject(in ToiDiagnosticsDataModelObjectInfo infoObject) 00109 raises (TToiInvalidArgumentException, TToiPermissionDeniedException); 00110 00126 //@ [EventFilter(AddressPosition=1)] 00127 00128 00129 void subscribeObject(in ToiEventListener eventListener, 00130 in TToiObjectIdentifier objectId) 00131 raises (TToiInvalidArgumentException); 00132 00148 //@ [EventFilter(AddressPosition=1)] 00149 00150 00151 void unsubscribeObject(in ToiEventListener eventListener, 00152 in TToiObjectIdentifier objectId) 00153 raises (TToiInvalidArgumentException); 00154 00159 //@ [ReleaseInstance] 00160 00161 00162 void releaseInstance(); 00163 00164 }; 00165 00166 #endif