Using triggered operations

Triggered operations are services provided by a class to serve other classes. They provide synchronous communication between a client and a server object. Because its activation is synchronous, a triggered operation can return a value to the client object.

About this task

Unlike events, operations are not independent entities; they are part of a class definition and, therefore, operations are not organized in hierarchies.

The usage of operations corresponds to invocation of class methods in C++. There are three reasons why operations have been integrated with the statechart framework:


Feedback