CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
OdTimeProvider
OdTimeProvider.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Open Design Alliance software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
24
// OdTimeProvider.h - interface of time provider
25
26
#ifndef _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
27
#define _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
28
29
#include "
RxModule.h
"
30
#include "
RootExport.h
"
31
32
#include "
TD_PackPush.h
"
33
#include "
OdTimeStamp.h
"
34
42
class
ODRX_ABSTRACT
FIRSTDLL_EXPORT
OdTimeProvider
:
public
OdRxModule
43
{
44
public
:
50
virtual
bool
getTimeFromServer
(
const
OdString
& serverName,
OdTimeStamp
& timeStamp) = 0;
51
};
52
53
typedef
OdSmartPtr<OdTimeProvider>
OdTimeProviderPtr
;
54
55
#include "
TD_PackPop.h
"
56
57
#endif
// _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition:
OdPlatformSettings.h:124
OdTimeProviderPtr
OdSmartPtr< OdTimeProvider > OdTimeProviderPtr
Definition:
OdTimeProvider.h:53
OdTimeStamp.h
RootExport.h
FIRSTDLL_EXPORT
#define FIRSTDLL_EXPORT
Definition:
RootExport.h:39
RxModule.h
TD_PackPop.h
TD_PackPush.h
OdRxModule
Definition:
RxModule.h:45
OdSmartPtr
Definition:
SmartPtr.h:58
OdString
Definition:
OdString.h:95
OdTimeProvider
Definition:
OdTimeProvider.h:43
OdTimeProvider::getTimeFromServer
virtual bool getTimeFromServer(const OdString &serverName, OdTimeStamp &timeStamp)=0
OdTimeStamp
Definition:
OdTimeStamp.h:42
Generated on Wed Apr 5 2023 17:29:21