/* Autogenerated with Kurento Idl */
/*
* (C) Copyright 2013-2015 Kurento (https://kurento.openvidu.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var inherits = require('inherits');
var kurentoClient = require('kurento-client');
var disguise = kurentoClient.disguise;
var ChecktypeError = kurentoClient.checkType.ChecktypeError;
var Filter = require('kurento-client-core').abstracts.Filter;
/**
* @classdesc
* Generic OpenCV Filter
*
* @abstract
* @extends module:core/abstracts.Filter
*
* @constructor module:filters/abstracts.OpenCVFilter
*/
function OpenCVFilter(){
OpenCVFilter.super_.call(this);
};
inherits(OpenCVFilter, Filter);
/**
* @alias module:filters/abstracts.OpenCVFilter.constructorParams
*/
OpenCVFilter.constructorParams = {
};
/**
* @alias module:filters/abstracts.OpenCVFilter.events
*
* @extends module:core/abstracts.Filter.events
*/
OpenCVFilter.events = Filter.events;
/**
* Checker for {@link module:filters/abstracts.OpenCVFilter}
*
* @memberof module:filters/abstracts
*
* @param {external:String} key
* @param {module:filters/abstracts.OpenCVFilter} value
*/
function checkOpenCVFilter(key, value)
{
if(!(value instanceof OpenCVFilter))
throw ChecktypeError(key, OpenCVFilter, value);
};
module.exports = OpenCVFilter;
OpenCVFilter.check = checkOpenCVFilter;