Diana
0.8.3
|
#include <CapeModel.hpp>
Public Member Functions | |
virtual ICapeNumericSTN * | GetSTN ()=0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeString | GetToState ()=0 throw (Common::Error::ECapeUnknown) |
This is the interface which provides facilities specific to internal events. When an internal event occurs, we will generally simply have to set the state of the model as indicated, and continue the solution process. However, in order to do this or carry out some more complex action, we will require access to the STN object in which the transition "wants" to occur, as well as the target state (the current state can be obtained from the STN). This object adds these two items of information to the general EventInfo class.
virtual ICapeNumericSTN* GetSTN | ( | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Provides access to the ICapeNumericSTN object in which the state transition indicated by the EventInfo is set to occur.
virtual Common::Types::CapeString GetToState | ( | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Provides the name of the state which is indicated as becoming active because of the transition condition which has became true.