CFx SDK Documentation
2023 SP0
SDK
CFx
dd_inc
OdTimeProvider
OdTimeProvider.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2018, 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 Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2018 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
35
class
ODRX_ABSTRACT
FIRSTDLL_EXPORT
OdTimeProvider
:
public
OdRxModule
36
{
37
public
:
38
virtual
bool
getTimeFromServer
(
const
OdString
& serverName,
OdTimeStamp
& timeStamp) = 0;
39
};
40
41
typedef
OdSmartPtr<OdTimeProvider>
OdTimeProviderPtr
;
42
43
#include "
TD_PackPop.h
"
44
45
#endif
// _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition:
OdPlatformSettings.h:117
OdTimeProviderPtr
OdSmartPtr< OdTimeProvider > OdTimeProviderPtr
Definition:
OdTimeProvider.h:41
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:36
OdTimeProvider::getTimeFromServer
virtual bool getTimeFromServer(const OdString &serverName, OdTimeStamp &timeStamp)=0
OdTimeStamp
Definition:
OdTimeStamp.h:42
Generated on Thu Feb 24 2022 15:09:54