#include <AAX_VSessionDocument.h>
◆ AAX_VSessionDocument()
| AAX_VSessionDocument::AAX_VSessionDocument |
( |
IACFUnknown * |
iUnknown | ) |
|
|
explicit |
◆ ~AAX_VSessionDocument()
| AAX_VSessionDocument::~AAX_VSessionDocument |
( |
| ) |
|
◆ Clear()
| void AAX_VSessionDocument::Clear |
( |
| ) |
|
Release all interface references.
◆ Valid()
| bool AAX_VSessionDocument::Valid |
( |
| ) |
const |
|
virtual |
◆ GetTempoMap()
Get a copy of the document's tempo map.
- Returns
- A TempoMap interface representing a copy of the current tempo map.
-
nullptr if the host does not support tempo map data or if an error occurred.
Implements AAX_ISessionDocument.
◆ GetDocumentData()
Get document data of a generic type
Similar to QueryInterface() but uses a data type identifier rather than a true IID
The provided interface has already had a reference added, so be careful not to add an additional reference:
ACFPtr<MyType> ptr;
if (
AAX_SUCCESS == doc->GetDocumentData(dataUID, &docDataPtr) && docDataPtr) {
ptr.attach(std::static_cast<MyType*>(docDataPtr));
}
@ AAX_SUCCESS
Definition: AAX_Errors.h:36
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
- Parameters
-
| [in] | inDataType | The type of the document data requested |
| [out] | outData | An interface providing the requested data, or nullptr if the host does not support or cannot provide the requested data type. The reference count has been incremented on this object on behalf of the caller, so the caller must not add an additional reference count and must decrement the reference count on this object to release it. For information about which interface to expect for each requested data type, see the documentation for that data type. |
Implements AAX_ISessionDocument.
The documentation for this class was generated from the following file: