CFx SDK Documentation  2020SP3
GfxParser.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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-2017 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 
25 #ifndef _GFXPARSER_INCLUDED_
26 #define _GFXPARSER_INCLUDED_
27 
28 
29 #include "RxObject.h"
30 #include "OdPlatformSettings.h"
31 
32 
33 #ifdef GFXCLIENT_DLL_EXPORTS
34  #define GFXCLIENT_EXPORT OD_TOOLKIT_EXPORT
35  #define GFXCLIENT_EXPORT_STATIC OD_STATIC_EXPORT
36 #else
37  #define GFXCLIENT_EXPORT OD_TOOLKIT_IMPORT
38  #define GFXCLIENT_EXPORT_STATIC OD_STATIC_IMPORT
39 #endif
40 
41 
42 #include "TD_PackPush.h"
43 #include "OdStreamBuf.h"
44 #include "Gs/Gs.h"
45 
46 class GfxParser;
48 
58 public:
60 
61  virtual void init(OdGsDevice* gs) = 0;
62 
63  virtual void parseGfx(OdStreamBuf* message) = 0;
64 
65  virtual OdGsDevice* targetGs() = 0;
66 };
67 
68 #include "TD_PackPop.h"
69 
70 #endif // #ifndef _ODRXFSPX_INCLUDED_
GfxParser::targetGs
virtual OdGsDevice * targetGs()=0
OdRxObject
Definition: RxObject.h:564
OdGsDevice
Definition: Gs.h:1061
TD_PackPop.h
RxObject.h
OdStreamBuf.h
OdSmartPtr
Definition: SmartPtr.h:58
Gs.h
GfxParser::init
virtual void init(OdGsDevice *gs)=0
OdPlatformSettings.h
TD_PackPush.h
GfxParser
Definition: GfxParser.h:57
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
GfxParser::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(GfxParser)
OdStreamBuf
Definition: OdStreamBuf.h:67
GfxParser::parseGfx
virtual void parseGfx(OdStreamBuf *message)=0
GfxParserPtr
OdSmartPtr< GfxParser > GfxParserPtr
Definition: GfxParser.h:46