Scripts Index
Related Topics
Popular Trends
Trending Topics
Tools and Utilities Development Tools  

Design Pattern: Singleton (Creational)

download download home home   report broken
important script information
company name:
Bobby Nedelkovski
license: Free
minimum requirements: MATLAB 7.8 (R2009a)
functional limitations:
Design Pattern: Singleton (Creational) description


Intent: Ensures a class only has one instance and provide a global point of access to it [1].Motivation: It's important for some classes to have exactly one instance. For example, it can be desirable to have only a single instance of a GUI. With a MATLABdlT« GUIDE built GUI, the driver or main function provides a global point of access which is executed to,1. initially instantiate the GUI; and2. subsequently bring the existing GUI into focus *not* creating a new one.Refer to the comments in 'Singleton.m' and 'SingletonImpl.m' for detail on the implementation. The script 'testSingletonImpl.m' demonstrates the use of 'SingletonImpl.m'. Further, a corresponding UML class diagram is illustrated in 'Singleton_UML_Diagram.pdf'.Refer to pp.127-134 Gamma et al.[1] for more information on the Singleton Design Pattern.Written by Bobby NedelkovskiThe MathWorks Australia Pty LtdCopyright 2009, The MathWorks, Inc.Reference:[1] Gamma, E., Helm, R., Johnson, R. and Vlissides, J. Design Patterns : Elements of Reusable Object-Oriented Software. Boston: Addison-Wesley, 1995.



Relates:
Script - Design - Diagram - Elements - Implementation - Information - Reusable - Singleton - Patterns - Demonstrates - Detail - Illustrated - Gamma - Singleton Uml Diagrampdf Refer - Pp127134 - Singletonimplm - Testsingletonimplm - Patternwritten
Similar scripts
Rob Keyboard (Popularity: ) : This plugin is produced for holding on keyboard when pairing program. You can type "shift ctrl K" to lock intellJ by a Dialog with amusing words. You can lock intellJ by password, with configging password enabled.At first, you should add ...
CIE Coordinate Calculator (Popularity: ) : This software is for calculating the CIE chromaticity co-ordinates of phosphor materials using the photo luminescence data. The software also shows the position of the co-ordinates in chromaticity diagram and expected color of the material. Please note that the color ...
New Dream Coder for Oracle (Popularity: ) : This tool is an code generator for Oracle. While fetching large tables this tool reduces usage of memory. Some features of this tool are, it has new password ecryption, procedure builder, session monitor, SQL templates etc., It increases execution times ...
Foreign Exchange Options (Popularity: ) : fxoptions( S0, X, rd, rf, T, vol, style)Valuation of European and American call and put options on foreign exchange using Garman-Kohlhagen model.European option prices are given by an exact formula (Garman-Kohlhagen).American option prices are approximated using both binomial and trinomial ...
Anti Cut and Paste (Popularity: ) : This utility is helpful for programmers that allows them to search programming language source code's text fragments which have been copied and pasted. Some key features of this tool are, this tool supports both command line and Graphical User Interface ...
AC Protect Standard (Popularity: ) : This utility is used for avoiding hackers from cracking your software using special techniques called anti crack. It works with all windows platforms. Some features of this tool are, this tool compresses ocx, scr, exe, dll and more, dynamic encrypt ...
VBcodePrint (Popularity: ) : This Add-In to Microsoft Visual Basic 6 significantly enhances its source code printing capabilities. You can print any part of your VB project's source code from within the VB's development environment. / You can create and save your own output ...
Bokai Barcode Image generator (Popularity: ) : This tool is used for barcode generator and which has an ActiveX control for printing barcodes. This tool contains more than twenty five barcode types. This tool supports only ActiveX control programs. Users can customize barcode parameters and design of ...
Use Matlab Editor to Write and Run Ansys Program. (Popularity: ) : You don't have to switch your screen between Matlab, Ansys and UltraEdit or PSPad anymore, when you doing FEM-Analysis.You can use MEditor to write your Ansys APDL program and use the excellent feature of MEditor to structure your Code: Cell-Function, ...
VBAcodePrint (Popularity: ) : This add-in enables you to print Microsoft VBA source code in color of your applications across the entire Microsoft Office 2000 suite of applications: Word, Excel, Outlook, Access, PowerPoint, and FrontPage and any other VBA enabled software. / You can ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
CodeSounding (Popularity: ) : CodeSounding is a Java sonification library: the sound produced running a .class (or .jar) is a function of how was structured its source code before compilation. You can therefore produce computer-generated music.

Post-process your Java files with codesounding.cl.ApplyTemplate class and compile ...

Pattern Wizard (Popularity: ) : Draw and print craft patterns to any size. Automatically tiles across pages. Trace photographs. Draw perfect shapes with a few clicks: lines, rectangles, circles, arcs, curves. Easily change your design by clicking & dragging parts of it. Great for any ...
SLPSoft Software System Design and Modeling (Popularity: ) : The SLPSoft Software System Design and Modeling enables developers to model and design a software program by viewing it as a system. When designing a system, then we start with the system requirement and then translate the system requirement to ...
InternetNotePad! (Popularity: ) : Wouldn't it be great if you could just use a web page editor to edit your web site directly online, hit save, and everything would be instantly published on your web site? Well wait no longer ..

The first of its ...

SmartState (Popularity: ) : UML State Chart Tool with State Machine Code Generation in ANSI C, C++, Java, C#(.net). Supports state machine persistence, concurrent states, orthogonal states and nested states, multiple transitions, events, guards and effect.
DaoliteMappingTool for .NET (Popularity: ) : Create All Your Data Access Objects for Your Project in Seconds -DaoMappingTool is a professional source code generator specially designed to enhance Daolite. It can generate Business objects based on Daolite and help build your business logic layer more easily. ...
NConstruct (Popularity: ) : * True Rapid Application Development
When you create the database with regard to your customer's demands, you are just a few clicks away from the core of your future application. With NConstruct you get the whole executable and/or source code* ...

EditiX 2009 for Linux (Small Business License) (Popularity: ) : A powerful and easy to use XML editor and XSLT debugger for Windows, Linux, and Mac OS X designed to help web authors and application programmers take advantage of the latest XML and XML-related technologies such as XSLT / FO, ...
Open Melodie (Popularity: ) : Open Melodie is an open source version of the software used in the Musee Achemenide (MAVI) project. It includes all the modules : image, data, user registration, XML interfaces and Ajax administration interfaces.

Developer comments

In a nutshell, the MAVI project is ...

tox for Linux (Popularity: ) : tox (Tomcat Oracle & XML) is a web archive is a foundation for development of HTTP based applications using Tomcat (or some other servlet container) and an Oracle RDBMS. Use of tox requires coding primarily in PL/SQL, javascript, and XSLT, ...
ad


Rate me
supported os
Linux
Mac OSX
Macintosh
Win All, BSD, Solaris
stats
downloads 104
version 1.0
size in Kb 41
popularity   
948/376437
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews