51 #ifndef ti_sdo_fc_ires_IRESMAN_
52 #define ti_sdo_fc_ires_IRESMAN_
IRES_Status
IRES_Status defines the standard error and success codes returned by IRES APIs.
Definition: ires_common.h:57
Configuration Parameters required by the Resource Manager implementation. These can be extended by in...
Definition: iresman.h:82
Memory records.
Definition: ialg.h:142
IRESMAN_PersistentAllocFxn * allocFxn
Function to allocate memory required by the resource manager implementation and the protocol...
Definition: iresman.h:89
IRES_Status(* freeHandle)(IALG_Handle algHandle, IRES_Handle resourceHandle, IRES_ResourceDescriptor *resDesc, Int scratchGroupId)
Frees handles back to the resource pool.
Definition: iresman.h:166
struct IRES_Obj * IRES_Handle
Handle to "logical" resource.
Definition: ires_common.h:196
Protocol revision type. Used to ensure the given 'protocol' revision can be validated.
Definition: ires_common.h:73
Algorithm instance object definition.
Definition: ialg.h:159
IRES Resource Protocol Definitions - IRES Resource.
Int32 size
Definition: iresman.h:83
IRESMAN_PersistentFreeFxn * freeFxn
Function to free memory released by the resource manager implementation and the protocol.
Definition: iresman.h:95
struct IRESMAN_Fxns IRESMAN_Fxns
IRES_Obj holds the private state associated with each logical resource.
Definition: ires_common.h:176
Void( IRESMAN_PersistentFreeFxn)(IALG_MemRec *memTab, Int numRecs)
Memory free functions for all of ResMan and other IRES protocol's memory requirements.
Definition: iresman.h:74
IRES Interface Definitions - Allows algorithms to request and receive handles representing private lo...
IRES_Status(* init)(IRESMAN_Params *initArgs)
Function to create and initialize the device specific resource manager implementation.
Definition: iresman.h:123
Void(* activateResource)(IALG_Handle algHandle, IRES_Fxns *resFxns)
Definition: iresman.h:171
struct IRESMAN_Params IRESMAN_Params
Configuration Parameters required by the Resource Manager implementation. These can be extended by in...
Void(* deactivateResource)(IALG_Handle algHandle, IRES_Fxns *resFxns)
Definition: iresman.h:173
Bool( IRESMAN_PersistentAllocFxn)(IALG_MemRec *memTab, Int numRecs)
Memory allocation function for all of ResMan and other IRES protocol's memory requirements.
Definition: iresman.h:68
IRES_Handle(* getHandle)(IALG_Handle algHandle, IRES_ResourceDescriptor *resDesc, Int scratchGroupId, IRES_Status *status)
Function that returns the IRES_Handle to resource requested using the IRES_ProtocolArgs.
Definition: iresman.h:152
Descriptor to Logical Resource.
Definition: ires_common.h:122
These fxns are used to query/grant the resources requested by the algorithm at initialization time...
Definition: ires.h:168
String(* getProtocolName)()
Function to query the name of the protocol.
Definition: iresman.h:104
IRES_Status(* exit)()
Function called when RESMAN is no longer needed. Use it to free memory allocated etc.
Definition: iresman.h:132