<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Command_pattern</id>
	<title>Command pattern - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Command_pattern"/>
	<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Command_pattern&amp;action=history"/>
	<updated>2026-05-08T09:15:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Command_pattern&amp;diff=27885&amp;oldid=prev</id>
		<title>Q: Category reorg</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Command_pattern&amp;diff=27885&amp;oldid=prev"/>
		<updated>2020-06-02T21:01:27Z</updated>

		<summary type="html">&lt;p&gt;Category reorg&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:01, 2 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Object-Oriented Programming]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Object-Oriented Programming]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Object-Oriented Design Pattern]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Object-Oriented Design Pattern]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Design patterns]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Q</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Command_pattern&amp;diff=13000&amp;oldid=prev</id>
		<title>Logmanoriginal: Add working links for object and class</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Command_pattern&amp;diff=13000&amp;oldid=prev"/>
		<updated>2020-04-06T10:20:30Z</updated>

		<summary type="html">&lt;p&gt;Add working links for object and class&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:20, 6 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Command pattern&#039;&#039;&#039; is a basic [[design pattern]] in [[object-oriented programming]] in which an [[object]] is used to [[encapsulation|encapsulate]] data and behavior in order to perform an action or trigger an [[event]] at a later time. The client then executes a command through a common interface that is provided by the parent [[class]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Command pattern&#039;&#039;&#039; is a basic [[design pattern]] in [[object-oriented programming]] in which an [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;object (object-oriented programming)|&lt;/ins&gt;object]] is used to [[encapsulation|encapsulate]] data and behavior in order to perform an action or trigger an [[event]] at a later time. The client then executes a command through a common interface that is provided by the parent [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;class (object-oriented programming)|&lt;/ins&gt;class]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This pattern is typically used in message handlers to avoid the need to convert data to/from [[variant]] or [[string]]. It requires the definition of a generic parent class, which defines the interface that must be implemented by its child classes. For every command a new child class is required. Each child class then overrides the execution method of the parent class to implement the specific functionality.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This pattern is typically used in message handlers to avoid the need to convert data to/from [[variant]] or [[string]]. It requires the definition of a generic parent class, which defines the interface that must be implemented by its child classes. For every command a new child class is required. Each child class then overrides the execution method of the parent class to implement the specific functionality.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Logmanoriginal</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Command_pattern&amp;diff=11053&amp;oldid=prev</id>
		<title>Logmanoriginal: Add new page</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Command_pattern&amp;diff=11053&amp;oldid=prev"/>
		<updated>2020-03-30T13:36:32Z</updated>

		<summary type="html">&lt;p&gt;Add new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Command pattern&amp;#039;&amp;#039;&amp;#039; is a basic [[design pattern]] in [[object-oriented programming]] in which an [[object]] is used to [[encapsulation|encapsulate]] data and behavior in order to perform an action or trigger an [[event]] at a later time. The client then executes a command through a common interface that is provided by the parent [[class]].&lt;br /&gt;
&lt;br /&gt;
This pattern is typically used in message handlers to avoid the need to convert data to/from [[variant]] or [[string]]. It requires the definition of a generic parent class, which defines the interface that must be implemented by its child classes. For every command a new child class is required. Each child class then overrides the execution method of the parent class to implement the specific functionality.&lt;br /&gt;
&lt;br /&gt;
[[File:Command Pattern.png]]&lt;br /&gt;
&lt;br /&gt;
The command pattern is sometimes combined with the [[channeling pattern]] for pre-processing/post-processing around the execution method of child classes.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Queued Message Handler]]&lt;br /&gt;
* [[Actor Framework]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://forums.ni.com/t5/LabVIEW-Development-Best/Command-Pattern-for-LabVIEW-OOP/ta-p/3539427 LabVIEW Development Best Practice Documents - Command Pattern for LabVIEW OOP]&lt;br /&gt;
* [[Wikipedia:Command pattern|Command pattern]] (Wikipedia)&lt;br /&gt;
&lt;br /&gt;
[[Category:Object-Oriented Programming]]&lt;br /&gt;
[[Category:Object-Oriented Design Pattern]]&lt;br /&gt;
[[Category:Design patterns]]&lt;/div&gt;</summary>
		<author><name>Logmanoriginal</name></author>
	</entry>
</feed>