IFSelect_SessionPilot.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IFSelect_SessionPilot.hxx>
#include <Handle_IFSelect_WorkSession.hxx>
#include <TCollection_AsciiString.hxx>
#include <Standard_Integer.hxx>
#include <TColStd_Array1OfAsciiString.hxx>
#include <TColStd_Array1OfInteger.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Standard_Transient.hxx>
#include <TColStd_SequenceOfAsciiString.hxx>
#include <IFSelect_Activator.hxx>
#include <Handle_IFSelect_Activator.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_CString.hxx>
#include <Handle_TColStd_HSequenceOfAsciiString.hxx>
#include <IFSelect_ReturnStatus.hxx>
#include <Handle_IFSelect_WorkLibrary.hxx>
#include <Handle_IFSelect_SignCounter.hxx>
#include <IFSelect_PrintCount.hxx>

Data Structures

class  IFSelect_SessionPilot
 A SessionPilot is intended to make easier the use of a
WorkSession. It receives commands, under alphanumeric form,
then calls a library of Activators to interprete and run them.

Then, WorkSession just records data required to work :
Rules for Selection, Dispatch ... ; File Data (InterfaceModel
and results of Evaluations and Transfer as required).
SessionPilot records and works with alphanumeric commands and
their results (under a very simple form). It calls a list of
Activators to perform the actions.

A Command can have several forms :

  • classic execution, to list, evaluate, or enrich the session
  • command which creates a new item (a Selection for instance)
    such a command should not add it to the session, but make it
    recorded by the Pilot (method RecordItem). The Pilot will
    add the item in the session, with no name
    -> such a command may be called :
    • directly, it will add an item with no name
    • by command xset, in the following form :
      xset name command ... calls the command and adds the item
      to the session under the specified name (if not yet known)

      Thus, to a specific Norm or way of working, only Activators
      change. A specific Initialisation can be done by starting
      with a specific set of commands.

      In addition, SessionPilot is a sub-type of Activator, to
      recognize some built-in commands : exit/x, help/?, control of
      command line, and commands xstep xset ... See method Do

      At least, empty lines and comment lines (beginning by '#')
      are skipped (comment lines are display if read from file)
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:39:54 2011 for Open CASCADE Technology by  doxygen 1.6.3