Method and device for implementing undo and/or redo
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
An implementation method and redo technology, applied in the field of undo and/or redo implementation methods and devices, can solve problems such as increased development cost, large design time, occupation, etc., and achieve the effect of saving design time and improving development efficiency
Active Publication Date: 2015-04-29
BEIJING SIEMENS CERBERUS ELECTRONICS
View PDF2 Cites 9 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0005] However, in the prior art, it is necessary to design the undo / redo function for each module, each step, and each function separately during the software development stage, which takes a lot of design time and significantly increases the development cost
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more
Image
Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment Construction
[0041] In order to make the technical solutions and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to illustrate the present invention, and are not used to limit the protection scope of the present invention.
[0042] figure 1 It is a flowchart of a method for implementing undo and / or redo according to the embodiment of the present invention.
[0043] Such as figure 1 As shown, the method includes:
[0044] Step 101: Establish a container that contains an undo queue and / or redo queue, the undo queue and / or redo queue is used to hold one or more template class objects, the template class contains and / or to be undone and / or to be redo Operation related function pointer union (UNION) and related function call information.
[0045] In the embodiment of the present invention, a template...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more
PUM
Login to view more
Abstract
The embodiment of the invention discloses a method and device for implementing undo and/or redo. The method comprises the following steps: establishing a container containing an undo queue and/or a redo queue, wherein the undo queue and/or the redo queue are/is used for accommodating one or more objects of a template class, and the template class contains the UNION of functional pointers related to operation to be undone and/or to be redid and related function call information; establishing the corresponding object of the template class based on the operation executed by a user, and putting the established object of the template class in the corresponding undo queue and/or redo queue in the container; when the user triggers an undo action and/or an redo action, popping the corresponding object of the template class from the undo queue and/or the redo queue, and utilizing the call information in the object of the template class to execute functions of the functional pointers in the object of the template class. By adoption of the template class as an operator of undo and/or redo, various types of classes can be accommodated, and data operation is not involved, so that the method is suitable for various application environments.
Description
Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for implementing undo and / or redo. Background technique [0002] Software engineering is a discipline that studies the construction and maintenance of effective, practical and high-quality software using engineering methods. It involves programming languages, databases, software development tools, system platforms, standards, design patterns, etc. In modern society, software is used in many ways. Typical software includes e-mail, embedded system, man-machine interface, office suite, operating system, compiler, database, game, etc. At the same time, almost all industries have computer software applications, such as industry, agriculture, banking, aviation, and government departments. These applications promote economic and social development, and also improve work and life efficiency [0003] Software framework usually refers to a software component spec...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more
Application Information
Patent Timeline
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.