Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Common » CopyObject

CopyObject


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avl
Module: FoundationLite

Creates a copy of the input data.

Applications: Use this filter to create a source of data, e.g. that needs to be send to HMI or used in several places of a macrofilter.

Syntax

void avl::CopyObject
(
	const Type& inObject,
	Type& outObject
)

Parameters

Name Type Default Description
Input value inObject const Type& Object to be copied
Output value outObject Type& Copy of the object

Hints

  • Use this filter to create a source of data for an HMI control.
  • Use this filter to create a source of data that has to be used in several places of one macrofilter.
  • Also consider creating a global parameter or an additional input of the current macrofilter.