The IAAFSourceReference interface is implemented by objects that represent the essence or other data described by a MobSlot in a Mob. More...
Public Member Functions | |
HRESULT | GetSourceID ([retval][out] aafMobID_t *pSourceID) |
Gets the SourceID and places it into the pSourceID argument. | |
HRESULT | SetSourceID ([in] aafMobID_constref sourceID) |
Sets the SourceID using the sourceID argument. | |
HRESULT | GetSourceMobSlotID ([retval][out] aafSlotID_t *pMobSlotID) |
Gets the Mob Slot ID and places it into the pMobSlotID argument. | |
HRESULT | SetSourceMobSlotID ([in] aafSlotID_t mobSlotID) |
Sets the mob slot ID using the mobSlotID argument. |
The IAAFSourceReference interface is implemented by objects that represent the essence or other data described by a MobSlot in a Mob.
In addition to the specific error results listed for each method, all methods in this interface may also return one of the following values:
AAFRESULT_NOMEMORY
AAFRESULT_NOT_INITIALIZED
HRESULT IAAFSourceReference::GetSourceID | ( | [out] aafMobID_t * | pSourceID | ) |
Gets the SourceID and places it into the pSourceID argument.
Succeeds if all of the following are true:
If this method fails nothing will be written to *pSourceID.
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
pSourceID | [retval][out] Place to put source ID |
HRESULT IAAFSourceReference::GetSourceMobSlotID | ( | [out] aafSlotID_t * | pMobSlotID | ) |
Gets the Mob Slot ID and places it into the pMobSlotID argument.
Succeeds if all of the following are true:
If this method fails nothing will be written to *pMobSlotID.
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
pMobSlotID | [retval][out] Place to put source mob slot ID |
HRESULT IAAFSourceReference::SetSourceID | ( | [in] aafMobID_constref | sourceID | ) |
Sets the SourceID using the sourceID argument.
Always succeeds.
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
sourceID | [in] Source ID to set |
HRESULT IAAFSourceReference::SetSourceMobSlotID | ( | [in] aafSlotID_t | mobSlotID | ) |
Sets the mob slot ID using the mobSlotID argument.
Succeeds if all of the following are true:
If this method fails no state will be changed.
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
(other error codes here.)
mobSlotID | [in] Source Mob ID to set |