<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<c74object name="ossia.view" module="max" category="Ossia">

	<digest>
		Bind to a model patcher
	</digest>

	<description>
		<o>ossia.view</o> allows to bind to a model patcher and define a scope to the ossia.remotes at the same level patcher or below to automatically bind to corresponding ossia.parameters
	</description>

	
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">Ossia</metadata>
		<metadata name="tag">Ossia</metadata>
		<metadata name="tag">Network</metadata>
	</metadatalist>

	
	<!--INLETS-->
	<inletlist>
			<inlet id="0" name="Message input" type="any">
			<digest>Messages to ossia.model</digest>
			<description>Messages to the node</description>
		</inlet>
	</inletlist>


	<!--OUTLETS-->
	<outletlist>
			<outlet id="0" name="Info outlet" type="any">
			<digest>Various information messages</digest>
			<description>Messages and information in reply to various messages</description>
		</outlet>
	</outletlist>

	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="Address to bind to" optional="0" type="symbol">
			<digest>
				The address of the node (model) to bind this view to
			</digest>
			<description>
				<o>ossia.view</o> requires an argument defining a node name in the ossia namespace to which it will bind. This will define the scope to which the ossia.remotes at the same level patcher or below will automatically bind to corresponding ossia.parameters.  
				This argument is mandatory, and each <o>ossia.view</o> within a upper-level model, device or client must have a unique name.
			</description>
		</objarg>
	</objarglist>	
	
	<methodlist>
		<method name="address">
			<arglist>
				<arg name="Address to bind to" optional="1" type="list" />
			</arglist>
			<digest>
				The address of the node (model) to bind this view to
			</digest>
			<description>
				The <m>address</m> message followed a node address in the Ossia namespace will make the view bind to the specified node (model)
			</description>
		</method>
	</methodlist>

	<!--SEEALSO-->
	<seealsolist>
		<seealso name="ossia.model"/>
		<seealso name="ossia.remote"/>
		<seealso name="ossia.client"/>
	</seealsolist>

	
</c74object>
