![]() |
Telelogic TAU (steve huntington) | ![]() |
Topic Title: C++ API: Unable to use GenerateEMF and Locate Topic Summary: How to set up an "interactive execution environment" ? Created On: 27-Oct-2006 13:35 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: A client of the Tau APIs can execute in two different environments 1) An interactive execution environment (this is the Tau IDE) 2) A non-interactive execution environment (this is for example a stand-alone batch app) The behaviour and availability of certain API functions depend on the current execution environment as stated in the doc. For example, certain functions are only available in the interactive execution environment. So the interactive execution environment is not something you set up - it is determined by how your API client runs. It should run inside the Tau IDE to be an interactive API client which is required for using features such as GenerateEMF. In practise this means that your API client should be an (interactive) agent. You can find more information about execution environments in the on-line doc (Customizing Tau / C++ API / Introduction): "A client of the C++ API may execute in different environments. The behavior of some API functions will depend on the execution environment of the client code. For example, if the client executes in the IDE (a so called interactive client), those API functions that modify the model will use an implementation that is appropriate for interactive use (undo/redo capabilities etc.). Another example is a client that executes in a batch application (a so called non-interactive client), for which some parts of the API will be inaccessible (those parts that have to do with the IDE). " | |
![]() |
|
Hello,
I'm currently writing a C++ application that uses Tau C++ API.
I did not successed to generate Enhanced Meta Files for each diagrams.
I have an APIError exception:
ITtdPresentationElement::GenerateEMF is not available in the current execution environment.
Same for GenerateEMFEx and Locate:
ITtdEntity::Locate is not available in the current execution environment.
I saw in the documentation that GenerateEMF is currently only available in the interactive execution environment.
I haven't found documentation about this "interactive execution environment".
Could you tell me how to set it up ?
Thanks in advance,
Delphin
Edited: 27-Oct-2006 at 13:48 by Delphin Lecucq |
|
![]() |
|
![]() |
|
A client of the Tau APIs can execute in two different environments
1) An interactive execution environment (this is the Tau IDE) 2) A non-interactive execution environment (this is for example a stand-alone batch app) The behaviour and availability of certain API functions depend on the current execution environment as stated in the doc. For example, certain functions are only available in the interactive execution environment. So the interactive execution environment is not something you set up - it is determined by how your API client runs. It should run inside the Tau IDE to be an interactive API client which is required for using features such as GenerateEMF. In practise this means that your API client should be an (interactive) agent. You can find more information about execution environments in the on-line doc (Customizing Tau / C++ API / Introduction): "A client of the C++ API may execute in different environments. The behavior of some API functions will depend on the execution environment of the client code. For example, if the client executes in the IDE (a so called interactive client), those API functions that modify the model will use an implementation that is appropriate for interactive use (undo/redo capabilities etc.). Another example is a client that executes in a batch application (a so called non-interactive client), for which some parts of the API will be inaccessible (those parts that have to do with the IDE). " |
|
![]() |
Telelogic TAU
» TAU/Developer
»
C++ API: Unable to use GenerateEMF and Locate
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.