1 /*
2 * Copyright (c) 2008 Texas Instruments. All rights reserved.
3 * This program and the accompanying materials are made available under the
4 * terms of the Eclipse Public License v1.0 and Eclipse Distribution License
5 * v. 1.0 which accompanies this distribution. The Eclipse Public License is
6 * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse
7 * Distribution License is available at
8 * http://www.eclipse.org/org/documents/edl-v10.php.
9 *
10 * Contributors:
11 * Texas Instruments - initial implementation
12 * */
13 /*
14 * ======== ITimestampProvider.xdc ========
15 */
16 package xdc.runtime;
17
18 /*!
19 * ======== ITimestampProvider ========
20 * Timestamp provider interface
21 *
22 * This interface is implemented by platform-specific modules that
23 * "provide" underlying timestamp services for the
24 * `{@link xdc.runtime.Timestamp}` module.
25 *
26 * Only the `{@link xdc.runtime.Timestamp}` module and the
27 * `{@link xdc.runtime.ITimestampClient}` interface should be directly
28 * referenced by platform-independent applications.
29 *
30 * This interface is part of a design pattern that includes the
31 * `ITimestampClient` interface and the `Timestamp` module. This pattern
32 * allows client code to:
33 * @p(blist) 34 * - use the platform-independent interfaces provided by either
35 * `ITimestampClient` and `Timestamp` and remain 100% portable
36 * - optionally leverage platform-specific capabilities
37 * of any module that implements `ITimestampProvider` and still always
38 * have access to the platform-independent methods specified by
39 * `ITimestampClient` (because `ITimestampProvider` inherits from
40 * `ITimestampClient`)
41 * @p 42 * This pattern is in contrast to other "provider" interfaces that exist only
43 * to specify the methods necessary to enable "higher-level" modules; client
44 * code *never* accesses these provider interfaces directly, clients always
45 * only use the higher-level modules.
46 */
47 interface ITimestampProvider inherits ITimestampClient {
48 }
49 /*
50 * @(#) xdc.runtime; 2, 1, 0,296; 11-16-2010 11:20:24; /db/ztree/library/trees/xdc/xdc-v53x/src/packages/
51 */
52