<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="universal" module="max" category="Control">
	<digest>
		Send messages to all objects of the same type
	</digest>
	<description>
		Sends a input message to all instances of the same class of object in a patcher. The order in which the messages arrive is not defined.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Control
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Class Name and Message
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Class Name and Message
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="mode" optional="1" type="int">
			<digest>
				Target mode
			</digest>
			<description>
				If a 1 is present as an argument, <o>universal</o> will send messages it receives to objects of the specified class in subpatchers of its patcher as well as in the patcher containing the <o>universal</o> object.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Send a bang to all like objects
			</digest>
			<description>
				Sends a <m>bang</m> to all instances of the same class of object within the patcher.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Send an int to all like objects
			</digest>
			<description>
				Sends an <m>int</m> to all instances of the same class of object within the patcher.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Send a float to all like objects
			</digest>
			<description>
				Sends a <m>float</m> to all instances of the same class of object within the patcher.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Send a list to all like objects
			</digest>
			<description>
				Sends a <m>list</m> to all instances of the same class of object within the patcher.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Send the input to all like objects
			</digest>
			<description>
				Sends <m>anything</m> to all instances of the same class of object within the patcher.
			</description>
		</method>
		<method name="send">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Send input to a restricted object class
			</digest>
			<description>
				To send messages to certain objects whose class names are also reserved Max message names (such as <m>int</m> and <m>float</m>), you need to start the message with the <m>send</m> message. <m>send</m> can be used with any class.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="universal.png" caption="Send a message to all objects of the same class at once" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="forward" />
		<seealso name="receive" />
		<seealso name="send" />
		<seealso name="value" />
	</seealsolist>
	<misc name="methodnote">
		The <o>universal</o> object expects as input a symbol that names an object class (for example, <o>table</o> or <o>dspstate~</o>), followed by a message selector and any number of arguments for that message. The message and its arguments (if any) are sent to all instances of the class within the same patcher (and possibly its subpatchers).
	</misc>
	<misc name="Output">
		<entry name="None">
			<description>
				The object has no outlets, but objects receiving the message(s) it sends may have some form of output from their outlets. However, the order in which the message is sent to various objects is not guaranteed. This is also true when using the send and receive objects.
			</description>
		</entry>
	</misc>
</c74object>
