RequestOutputPostProcessingNodeClass.php 653 Bytes
<?php

define ("REQUESTOUTPUTPOSTPROCESSING_NAME", "postProcess");



/**
 * @class RequestOutputPostProcessingNodeClass
 * @brief Definition of a request post processing node type for AMDA_Kernel
 * @details
*/
class RequestOutputPostProcessingNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPOSTPROCESSING_NAME);
	}

	public function addPostProcessing($type)
	{
		$this->getChildInstanceByName($type, true);
	}

	public function isPostProcessing($type)
	{
		if ($type == RequestOutputPostProcessingEnumClass::UNKNOWN)
			return false;
		return ($this->getChildInstanceByName($type) != NULL);
	}
}

?>