Real-Time Object-Oriented Modeling: Difference between revisions

Content deleted Content added
Hrrpro (talk | contribs)
m Structure: again typo
Hrrpro (talk | contribs)
m minor changes
Line 27:
[[File:Structure of AnActorClass.jpg|thumb|Example of a structure diagram]]
 
An actor can contain other actors (as a [[object composition|composition]]). In ROOM these are called ''actor references'' ofor ''actor refs'' for short.
This allows to create structural hierarchies of arbitrary depth.
 
Line 54:
=== Inheritance ===
 
AsLike other [[object-oriented programming|object oriented programming languages]] ROOM hasuses the concept of [[class (computer programming)|classes]].
Actors are classes which can be instantiated as [[object-oriented programming|objects]] several times in the system.
Of course each instance of an actor class is in its own state and can communicate with other instances of the same (and other) classes.