Component Interface events are non-contract; that is, they may fail and return an error code, so the caller must check the return code. More succinct code is achieved in C++ by offering "contract" functions, that either succeed or raise an exception. Contract wrapper functions are provided for some Component Interface events in the binding. In addition, they may be much less verbose than the equivalent code to fire the event.
These are "contract" functions; that is, they either succeed or raise an exception.
|This is a documentation page for the BRAHMS Modular Execution (Simulation) Framework. For details of licensing and distribution, please click here. To advise of an error or omission, please click here.|