|
virtual CIdentifier | getNextScenarioIdentifier (const CIdentifier &previousID) const =0 |
| Gets next scenario identifier. More...
|
|
virtual bool | isScenario (const CIdentifier &scenarioID) const =0 |
|
virtual bool | createScenario (CIdentifier &scenarioID)=0 |
| Creates a new scenario. More...
|
|
virtual bool | importScenario (CIdentifier &newScenarioID, const CMemoryBuffer &buffer, const CIdentifier &scenarioImporterAlgorithmID)=0 |
| Import a scenario from a memory buffer and insert it in the scenario manager. More...
|
|
virtual bool | importScenarioFromFile (CIdentifier &newScenarioID, const CString &fileName, const CIdentifier &scenarioImporterAlgorithmID)=0 |
| Import a scenario from a file and insert it in the scenario manager. More...
|
|
virtual bool | exportScenario (CMemoryBuffer &buffer, const CIdentifier &scenarioID, const CIdentifier &scenarioExporterAlgorithmID) const =0 |
| Export a scenario to a memory buffer. More...
|
|
virtual bool | exportScenarioToFile (const CString &fileName, const CIdentifier &scenarioID, const CIdentifier &scenarioExporterAlgorithmID) const =0 |
| Export a scenario to a file. More...
|
|
virtual bool | releaseScenario (const CIdentifier &id)=0 |
| Releases an existing scenario. More...
|
|
virtual IScenario & | getScenario (const CIdentifier &id)=0 |
| Gets details on a specific scenario. More...
|
|
|
Scenario importers and exporters permit the Kernel to load and save scenarios from and to files without having the client to explicitly specify the algorithm identifier for export.
Both are represented by a data structure that associates a Context with one or more File Name Extensions, each of the Context/Extension pair has then an Algorithm Identifier associated. This enables the kernel to use a different importer for different uses.
For example, in authoring mode one does not need to load the complete scenario, just the descriptor components.
Importers and exporters can be registered directly by plugins declaring new algorithms.
|
virtual void | cloneScenarioImportersAndExporters (const IScenarioManager &scenarioManager)=0 |
| Copies all scenario importers and exporters declarations from a scenarioManager to the current one. More...
|
|
virtual bool | importScenarioFromFile (CIdentifier &newScenarioID, const CIdentifier &importContext, const CString &fileName)=0 |
|
virtual bool | registerScenarioImporter (const CIdentifier &importContext, const CString &fileNameExtension, const CIdentifier &scenarioImporterAlgorithmID)=0 |
|
virtual bool | unregisterScenarioImporter (const CIdentifier &importContext, const CString &fileNameExtension)=0 |
|
virtual CIdentifier | getNextScenarioImportContext (const CIdentifier &importContext) const =0 |
|
virtual CString | getNextScenarioImporter (const CIdentifier &importContext, const CString &fileNameExtension) const =0 |
|
virtual CIdentifier | getScenarioImporterAlgorithmIdentifier (const CIdentifier &importContext, const CString &fileNameExtension) const =0 |
|
virtual bool | exportScenarioToFile (const CIdentifier &exportContext, const CString &fileName, const CIdentifier &scenarioID)=0 |
|
virtual bool | registerScenarioExporter (const CIdentifier &exportContext, const CString &fileNameExtension, const CIdentifier &scenarioExporterAlgorithmID)=0 |
|
virtual bool | unregisterScenarioExporter (const CIdentifier &exportContext, const CString &fileNameExtension)=0 |
|
virtual CIdentifier | getNextScenarioExportContext (const CIdentifier &exportContext) const =0 |
|
virtual CString | getNextScenarioExporter (const CIdentifier &exportContext, const CString &fileNameExtension) const =0 |
|
virtual CIdentifier | getScenarioExporterAlgorithmIdentifier (const CIdentifier &exportContext, const CString &fileNameExtension) const =0 |
|
virtual CIdentifier | getClassIdentifier () const =0 |
| Returns the final class identifier of the concrete class. More...
|
|
virtual bool | isDerivedFromClass (const CIdentifier &classId) const |
| Checks if this object is compatible with a class identifier. More...
|
|
virtual bool | acceptVisitor (IObjectVisitor &visitor) |
| Requests this object to accept a visitor. More...
|
|
The scenario manager.
- Author
- Yann Renard (IRISA/INRIA)
- Date
- 2006-10-05
This manager is responsible to organize and handle all the scenarios of the kernel.