CFx SDK Documentation  2020SP3
FxStdsManager.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "DDKERNEL.h"
20 #include "FxString.h"
21 #include <IdArrays.h>
22 class CFxDocument;
23 
24 #include <list>
25 
26 #include "FxPragmaPush.h"
27 
28 class CFxStdsPlugins;
29 class OdDbDatabase;
31 
32 typedef std::list < CFxStdsPluginsPtr > PLUGIN_LIST;
33 
35 {
36 public:
38  virtual ~CFxStdsManager();
39 
42  virtual void setDwsPathArray( CFxStringArray ) = 0;
43 
55 
61  virtual void addPlugin(CFxStdsPluginsPtr ) = 0;
62  virtual void removePlugin( CFxStdsPluginsPtr ) = 0;
63 
69  virtual bool getPluginList( std::list < CFxStdsPluginsPtr > & ) = 0;
70 
72  virtual CFxString getCurrentPlugin() = 0;
73  virtual void setCurrentPlugin( CFxString ) = 0;
74 
80 
81  virtual bool init( CFxDocument* ) = 0;
82  virtual bool checkForErrors( const OdDbDatabase* , OdDbObjectIdArray ,bool bNotify = false ) = 0;
83 
89  virtual void createVerficationDialog() = 0;
90  virtual void showVerficationDialog( bool ) = 0;
91  virtual void restoreVerificationDialog( CFxDocument* ) = 0;
92 
94  virtual void startProcessing() = 0;
95  virtual void endProcessing() = 0;
96 
98  virtual bool insideProcessing() = 0;
99 };
100 
103 
104 #include "FxPragmaPop.h"
FxPragmaPop.h
CFxStdsManager::getPluginList
virtual bool getPluginList(std::list< CFxStdsPluginsPtr > &)=0
OdDbDatabase
Definition: DbDatabase.h:421
CFxStdsManager::showVerficationDialog
virtual void showVerficationDialog(bool)=0
CFxStdsManager::getDwsPathArray
virtual CFxStringArray getDwsPathArray()=0
IdArrays.h
DDKERNEL.h
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
CFxStdsManager::getPluginDescription
virtual void getPluginDescription(CFxStdsPluginsPtr, CFxString &, CFxString &, CFxString &, CFxString &, CFxString &)=0
CFxStringArray
std::vector< CFxString > CFxStringArray
Definition: FxString.h:34
FxString.h
CFxStdsManager::init
virtual bool init(CFxDocument *)=0
CFxStdsManager::endProcessing
virtual void endProcessing()=0
CFxStdsManager::CFxStdsManager
CFxStdsManager()
CFxStdsManager::createVerficationDialog
virtual void createVerficationDialog()=0
CFxStdsManager::restoreVerificationDialog
virtual void restoreVerificationDialog(CFxDocument *)=0
OdSmartPtr
Definition: SmartPtr.h:58
CFxString
Definition: FxString.h:48
PLUGIN_LIST
std::list< CFxStdsPluginsPtr > PLUGIN_LIST
Definition: FxStdsManager.h:32
GetFxStandardManager
DDKERNEL_API CFxStdsManager * GetFxStandardManager()
CFxStdsManager::setDwsPathArray
virtual void setDwsPathArray(CFxStringArray)=0
CFxDocument
Definition: FxDocument.h:47
CFxStdsManager::getCurrentPlugin
virtual CFxString getCurrentPlugin()=0
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxStdsManager::setCurrentPlugin
virtual void setCurrentPlugin(CFxString)=0
CFxStdsManager::checkForErrors
virtual bool checkForErrors(const OdDbDatabase *, OdDbObjectIdArray, bool bNotify=false)=0
CFxStdsManager::addPlugin
virtual void addPlugin(CFxStdsPluginsPtr)=0
FxPragmaPush.h
CFxStdsPlugins
Definition: FxStdsPlugins.h:34
CFxStdsPluginsPtr
OdSmartPtr< CFxStdsPlugins > CFxStdsPluginsPtr
Definition: FxStdsManager.h:29
CFxStdsManager
Definition: FxStdsManager.h:35
CFxStdsManager::insideProcessing
virtual bool insideProcessing()=0
CFxStdsManager::startProcessing
virtual void startProcessing()=0
CFxStdsManager::getPluginAt
virtual CFxStdsPluginsPtr getPluginAt(CFxString)=0
CFxStdsManager::~CFxStdsManager
virtual ~CFxStdsManager()
CFxStdsManager::removePlugin
virtual void removePlugin(CFxStdsPluginsPtr)=0