AmPlugIn Class Reference
Container for loaded Plug-ins.
More...
#include <AmPlugIn.h>
Detailed Description
Container for loaded Plug-ins.
Member Function Documentation
| amci_codec_t * AmPlugIn::codec |
( |
int |
id |
) |
|
Codec lookup function.
- Parameters:
-
| id | Codec ID (see amci/codecs.h). |
- Returns:
- NULL if failed.
| amci_inoutfmt_t * AmPlugIn::fileFormat |
( |
const string & |
fmt_name, |
|
|
const string & |
ext = "" | |
|
) |
| | |
File format lookup according to the format name and/or file extension.
- Parameters:
-
| fmt_name | Format name. |
| ext | File extension. |
- Returns:
- NULL if failed.
Application lookup function
- Parameters:
-
| app_name | application name |
- Returns:
- NULL if failed (-> application not found).
Dynamic invokation component
Session event handler lookup function
- Parameters:
-
- Returns:
- NULL if failed (-> handler not found).
| const map<int,amci_payload_t*>& AmPlugIn::getPayloads |
( |
|
) |
[inline] |
- Returns:
- the suported payloads.
| int AmPlugIn::load |
( |
const string & |
directory |
) |
|
Loads all plug-ins from the directory given as parameter.
- Returns:
- -1 if failed, else 0.
| amci_payload_t * AmPlugIn::payload |
( |
int |
payload_id |
) |
|
Payload lookup function.
- Parameters:
-
- Returns:
- NULL if failed .
| bool AmPlugIn::registerFactory4App |
( |
const string & |
app_name, |
|
|
AmSessionFactory * |
f | |
|
) |
| | |
- Returns:
- true if this record has been inserted.
| amci_subtype_t * AmPlugIn::subtype |
( |
amci_inoutfmt_t * |
iofmt, |
|
|
int |
subtype | |
|
) |
| | |
File format's subtype lookup function.
- Parameters:
-
| iofmt | The file format. |
| subtype | Subtype ID (see plug-in declaration for values). |
- Returns:
- NULL if failed.
The documentation for this class was generated from the following files:
Generated on Thu Mar 8 00:12:46 2007 for Sems by
1.4.7