Activity diagrams Limitations and specified behavior Note the following restrictions and behavior: Љ Activity diagrams do not require “And” states to represent concurrent behavior. Activity diagrams cannot include “And” states. Љ Forks can end in states that are not within two orthogonal states. Љ Activity diagrams for operations cannot receive events, nor can they have state nodes. Љ You cannot animate the activity diagrams associated with operations. However, an animated sequence diagram for the model records the fact that a modeled operation was called. In addition, the call and object stacks record the owner object (not the functor object) as the object that receives the message.
Љ This feature supports only a subclass of diagrams that do not contain events (including timeout events) or triggered operations. Љ If a class attribute and an argument of the modeled operation have the same name, there will be a name collision that results in a compiler error. To avoid this problem before attempting to generate code, omit the class attribute that causes the collision. This should not affect the semantics of the operation, because operation arguments hide class attributes. Љ The name of the functor class will contain the signature of the modeled operation, thereby supporting overloaded operations.
Complicated type names will be converted to strings appropriate for building C++ identifiers. For example, “::” characters are replaced with underscores. Љ Because the code in the diagram does not execute within the scope of the modeled operation, there is no direct access to the this variable. Instead, access this variable using the this_ attribute of the functor class. This is also the preferred way to start methods in the owner class. Љ Operations with variable-length argument lists are not supported. Љ Global operations with activity diagrams are not supported. 654 User Guide