#include <exotkAF_Application.hxx>
Collaboration diagram for exotkAF_Application:

Public Methods | |
| void * | operator new (size_t, void *anAddress) |
| OCC new. More... | |
| void * | operator new (size_t size) |
| OCC new. More... | |
| void | operator delete (void *anAddress) |
| OCC delete. More... | |
| Standard_EXPORT | exotkAF_Application () |
| Constructor. More... | |
| virtual Standard_EXPORT | ~exotkAF_Application () |
| Destructor. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetActiveDocument (const Handle_exotkAF_Document &aDocument) |
| Set aDocument as active document. More... | |
| virtual Standard_EXPORT Handle_exotkAF_Document | ActiveDocument () |
| Return the active document. More... | |
| virtual Standard_EXPORT Standard_Boolean | AddDocument (const Handle_exotkAF_Document &aDocument) |
| Add aDocument to the set of known documents. More... | |
| virtual Standard_EXPORT Standard_Boolean | RemoveDocument (const Handle_exotkAF_Document &aDocument) |
| Remove aDocuemnt from the set of known documents. More... | |
| virtual Standard_EXPORT Standard_Integer | NbDocuments () |
| Return the number of documents. More... | |
| virtual Standard_EXPORT void | InitDocIterator () |
| Initialize the document iterator. More... | |
| virtual Standard_EXPORT Standard_Boolean | MoreDocIterator () |
| Returns true if the iterator is not at its end. More... | |
| virtual Standard_EXPORT void | NextDocIterator () |
| Set the iterator to the next document. More... | |
| virtual Standard_EXPORT Handle_exotkAF_Document | CurrentDocIterator () |
| Get the current document from the iterator. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetOpenCASCADEEnvironmentVariables (const TCollection_AsciiString &aCSFGraphicShr, const TCollection_AsciiString &aCSFUnitsDefinition, const TCollection_AsciiString &aCSFUnitsLexicon, const TCollection_AsciiString &aCSFMDTVFontDirectory, const TCollection_AsciiString &aCSFMDTVTexturesDirectory) |
| Set the environment variables needed for OpenCASCADE. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetPluginPath (const TCollection_AsciiString &aPluginPath) |
| Set the path where the plugins are located. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | PluginPath () |
| Return the path where the plugins are located. More... | |
| virtual Standard_EXPORT Standard_Boolean | LoadPlugins () |
| Load and dispatch the plugins. More... | |
| Standard_EXPORT const Handle_Standard_Type & | DynamicType () const |
| OCC type management. More... | |
| Standard_EXPORT Standard_Boolean | IsKind (const Handle_Standard_Type &) const |
| OCC type management. More... | |
Protected Methods | |
| virtual Standard_EXPORT void | DispatchPlugin (const Handle_exotkPlugin_Plugin &aPlugin) |
| Dispatch aPlugin in the good package. More... | |
Private Attributes | |
| Handle_exotkAF_HSetOfDocument | myDocuments |
| Handle_exotkAF_Document | myActiveDocument |
| TCollection_AsciiString | myPluginPath |
Friends | |
| Standard_EXPORT friend Handle_Standard_Type & | exotkAF_Document_Type_ () |
| OCC type management. More... | |
Definition at line 61 of file exotkAF_Application.hxx.
|
|
Constructor.
Definition at line 109 of file exotkAF_Application.cxx. References myDocuments. |
|
|
Destructor.
Definition at line 122 of file exotkAF_Application.cxx. References myDocuments, and exotkAF::SetApplication(). |
|
|
Return the active document.
Definition at line 404 of file exotkAF_Application.cxx. References myActiveDocument. |
|
|
Add aDocument to the set of known documents.
Definition at line 174 of file exotkAF_Application.cxx. References myDocuments. |
|
|
Get the current document from the iterator.
Definition at line 235 of file exotkAF_Application.cxx. |
|
|
Dispatch aPlugin in the good package.
Definition at line 346 of file exotkAF_Application.cxx. References exotkTrace::Error(), exotkTrace::Info(), PLUGINID_FCT, and exotkDX::RegisterPlugin(). Referenced by LoadPlugins(). |
|
|
OCC type management.
|
|
|
Initialize the document iterator.
Definition at line 199 of file exotkAF_Application.cxx. References myDocuments. |
|
|
OCC type management.
|
|
|
Load and dispatch the plugins.
Definition at line 300 of file exotkAF_Application.cxx. References DispatchPlugin(), myPluginPath, and exotkPlugin::RegisterPlugin(). |
|
|
Returns true if the iterator is not at its end.
Definition at line 211 of file exotkAF_Application.cxx. |
|
|
Return the number of documents.
Definition at line 247 of file exotkAF_Application.cxx. References myDocuments. |
|
|
Set the iterator to the next document.
Definition at line 223 of file exotkAF_Application.cxx. |
|
|
OCC delete.
Definition at line 94 of file exotkAF_Application.hxx. |
|
|
OCC new.
Definition at line 83 of file exotkAF_Application.hxx. |
|
||||||||||||
|
OCC new.
Definition at line 72 of file exotkAF_Application.hxx. |
|
|
Return the path where the plugins are located.
Definition at line 287 of file exotkAF_Application.cxx. References myPluginPath. |
|
|
Remove aDocuemnt from the set of known documents.
Definition at line 187 of file exotkAF_Application.cxx. References myDocuments. |
|
|
Set aDocument as active document.
Definition at line 386 of file exotkAF_Application.cxx. References myActiveDocument, and myDocuments. |
|
||||||||||||||||||||||||
|
Set the environment variables needed for OpenCASCADE.
Definition at line 140 of file exotkAF_Application.cxx. References exotkUtils_OSD::AddEnvironmentVariable(), and exotkUtils_OSD::FileExists(). |
|
|
Set the path where the plugins are located.
Definition at line 261 of file exotkAF_Application.cxx. References myPluginPath. |
|
|
OCC type management.
|
|
|
the active document Definition at line 241 of file exotkAF_Application.hxx. Referenced by ActiveDocument(), and SetActiveDocument(). |
|
|
the set of known documents Definition at line 238 of file exotkAF_Application.hxx. Referenced by AddDocument(), exotkAF_Application(), InitDocIterator(), NbDocuments(), RemoveDocument(), SetActiveDocument(), and ~exotkAF_Application(). |
|
|
the path to search the plugins Definition at line 244 of file exotkAF_Application.hxx. Referenced by LoadPlugins(), PluginPath(), and SetPluginPath(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001