Home Units Hierarchy Routines All identifiers

Class una_openH323plugin

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type una_openH323plugin = class(unaAbstractEncoder)

Description

Codec based on OpenH323 plugin model. http://openh323.sourceforge.net/

Hierarchy

Overview

Methods

Public constructor create(const dllPathAndName: wString; priority: integer = THREAD_PRIORITY_NORMAL);
Public function getVersion(): int;
Public function isEncoder(index: int = -1): bool;
Public function selectCodec(index: int): UNA_ENCODER_ERR;
Protected function doClose(): UNA_ENCODER_ERR; override;
Protected function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override;
Protected function doOpen(): UNA_ENCODER_ERR; override;
Protected function doSetConfig(config: pointer): UNA_ENCODER_ERR; override;
Protected function loadDLL(): int; virtual;
Protected function unloadDLL(): int; virtual;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;

Properties

Public property codecDef[index:int]: ppluginCodec_definition read getCodecDef;
Public property codecDefCount: uint32 read f_codecDefCnt;
Public property codecIndex: int read f_codecIndex write setCodecIndex;

Description

Methods

Public constructor create(const dllPathAndName: wString; priority: integer = THREAD_PRIORITY_NORMAL);

Creates plugin codec class

Public function getVersion(): int;

Returns version of loaded plugin

Public function isEncoder(index: int = -1): bool;
 
Public function selectCodec(index: int): UNA_ENCODER_ERR;
 
Protected function doClose(): UNA_ENCODER_ERR; override;

Closes plugin codec

Protected function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override;

Encodes a chunk of data.

Protected function doOpen(): UNA_ENCODER_ERR; override;

Opens plugin codec

Protected function doSetConfig(config: pointer): UNA_ENCODER_ERR; override;

Configures plugin codec

Protected function loadDLL(): int; virtual;

Loads plugin DLL into process memory.

Protected function unloadDLL(): int; virtual;

Unloads plugin DLL from process memory.

Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 

Properties

Public property codecDef[index:int]: ppluginCodec_definition read getCodecDef;
 
Public property codecDefCount: uint32 read f_codecDefCnt;
 
Public property codecIndex: int read f_codecIndex write setCodecIndex;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09