{"title":"The state-machine pattern","authors":"B. Sandén","doi":"10.1145/240678.240710","DOIUrl":null,"url":null,"abstract":"A design pattern is a grouping of a small number of objects that is likely to be useful again and again. In the context of concurrent software design in Ada 95, it is a group of tasks and protected units that is useful in many applications. State machines are common in realtime software. Their use is fairly straight-forward but non-trivial. The State-Machine pattern is intended to capture the various constellations of tasks and protected units that can be used to represent a state machine and associated activities. A number of small examples are used to illustrate different implementations.","PeriodicalId":429060,"journal":{"name":"TRI-Ada","volume":"103 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"TRI-Ada","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/240678.240710","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10
Abstract
A design pattern is a grouping of a small number of objects that is likely to be useful again and again. In the context of concurrent software design in Ada 95, it is a group of tasks and protected units that is useful in many applications. State machines are common in realtime software. Their use is fairly straight-forward but non-trivial. The State-Machine pattern is intended to capture the various constellations of tasks and protected units that can be used to represent a state machine and associated activities. A number of small examples are used to illustrate different implementations.