uml

Game engine design choice [closed]

时光总嘲笑我的痴心妄想 提交于 2019-12-13 12:20:06
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year . I heard composition is preferable over inheritance. So when I design my simple game engine I tend to do the following: http://yuml.me/1252399d instead of: http://yuml.me/51cacb4f Is this a good approach, or should I reconsider? Edit: To clarify the notation. The arrows means inheritance, the arrows

What information is described by an Enterprise Architecture Diagram?

白昼怎懂夜的黑 提交于 2019-12-13 12:19:58
问题 I'm tasked with building a set of Architectural Diagrams to share with a third party. Most have been pretty familiar, but the request for an Enterprise Architectural Diagram has me a bit stuck. I'm not exactly sure what information this particular diagram is supposed to convey to the reader. 回答1: Neither UML nor SysML defines an Enterprise Architecture Diagram. It might be that there is a clear definition of this diagram type in some other modelling language or framework, but if so I am not

Eclipse plugin or a Open source tool to reverse engineer java code for sequence diagram

China☆狼群 提交于 2019-12-13 11:46:21
问题 I am looking out for a eclipse plugin or an open source tool to reverse engineer the sequence diagrams. I tried using Alto UML, but it just gives out sequence diagram of the class chose. I would like to have a sequence diagram of the whole call stack with methods, input arguments and output arugments as well. Could you please let me know some pointers on this? Thanks! 回答1: Take a look at the MoDisco open source eclipse project MoDisco 回答2: Architexa does have sequence diagrams for the whole

How to illustrate an interrupt-driven process?

谁说胖子不能爱 提交于 2019-12-13 11:42:27
问题 This question is related to diagraming a software process. As an electrical engineer, much of the software I do is for embedded micro-controllers. In school, we learned to illustrate our algorithm using a flowchart. However, nowadays, many of my embedded projects are heavily interrupt-driven where the main process runs some basic algorithm a variety of interrupt sources provide its stimulus. So, my question is, what are some diagramming techniques that I can use to illustrate my process such

Visual Studio UML Class Diagram & Modeling of Generic Types

荒凉一梦 提交于 2019-12-13 11:34:12
问题 I need to model a concrete generic class inheriting from a base generic class. First, see below: ActivityFacade should be implemented this way: public class ActivityFacade : BaseFacade<Activity, int> { } How can I model this in a VS2012 UML class diagram? Looking at the diagram, it is obvious that ActivityFacade inherits from BaseFacade, but what's not obvious is the generic type parameters that it is passing in, namely: Activity and int . 回答1: You need to add a new binding class ( BaseFacade

class association

徘徊边缘 提交于 2019-12-13 09:37:26
问题 I am working on a program that is supposed to simulate bank accounts. I have my base class called "Investment", my two subclasses called "Stock" and "MutualFund", and I also have a class called "CustomerAccount" that is supposed to be associated with the base class "Investment". I'm not sure how to associate the CustomerAccount class with the Investment class. 回答1: The CustomerAccount class has a "CanHave" relationship with Investment. In your CustomerAccount class, create a collection of

How to use UML to model interaction between server and agent?

我是研究僧i 提交于 2019-12-13 07:37:40
问题 Scenario: The agent listens to a certain address/port during start up. When server started, server will send message to agent via the address (multicast). Agent will reply the server. How to model the first statement using UML (sequence diagram/activity/statemachine) ? 回答1: I guess any of these types of diagrams could model the interaction, but I would go with a sequence or a communication diagram for these reasons: there is a mix of asynchronous (the server's message) and synchronous (the

UML Diagrams - Discussion

本秂侑毒 提交于 2019-12-13 06:34:24
问题 On a big company, which diagrams (such as activity or class) are created before the development of a specific application? And you guys recommend this type of practice on small projects? Thanks 回答1: That is pretty open-ended and depends quite a bit on the type of development methodology the company is using. And, honestly, it depends on the expertise of the team, the type of system being developed, customer requirements, and many other factors as well. In my experience, you will typically see

Class Diagram in Mongodb

和自甴很熟 提交于 2019-12-13 06:00:55
问题 I want to make the UML for my application (i did the inverse, starting by the application because i am a beginner in internet stuff), so my question is: i've Produit which i denormalized, so, it will be copied two times: if it is a product uploaded, then it will have methods like supprimer ( delete ), if it is added to cart, then i will not have the supprimer ( delete ) method, but have enlever_du_panier ( reomve_from_cart ). So how can i show in UML that this method goes only for uploaded

keep class diagram and code synchronized

不问归期 提交于 2019-12-13 05:16:27
问题 I am trying to design my applications know before writing some code. I've created class diagram of all classes am going to use and then generated code from them using Astah. The problem occurs when I want to change a method of some class or add a new one. I should do this twice: once in the class diagram and once in the source code. Several evolutions of this kind being proceeded, my class diagram becomes easily out of date. Is there some approach to avoid this? Can I update already existing