OcaLibraryManager#
This document describes the device side implementation of OcaLibraryManager. This class is documented in the AES70 standard as:
Optional manager for handling device presets -- Patch and ParamSet libraries. May be instantiated once in any device., If instantiated, object number must be 8.
Overview#
- ClassID: 1.3.8
- Header:
aes70/device/OcaLibraryManager.hpp
- Namespace:
aes70::device
- Inheritance: aes70::device::OcaManager, aes70::device::OcaRoot, aes70::device::object
Class Declaration#
The device side implementation has the following signature.
namespace aes70::device
{
template <class Implementation>
class OcaLibraryManager : public OcaManager<Implementation>
{
};
}
The template argument Implementation
may implement the following methods.
Note
The signatures given here are just one possibility and that most methods are optional. Implement only those methods which make sense in the context of your device. See the documentation in Implementing AES70 Classes for more details.
class MyOcaLibraryManagerImplementation
{
// Methods defined by OcaLibraryManager
OcaLibraryIdentifier AddLibrary(OcaLibVolType Type);
void DeleteLibrary(OcaONo ID);
OcaUint16 GetLibraryCount(OcaLibVolType Type);
OcaList<OcaLibraryIdentifier> GetLibraryList(OcaLibVolType Type);
OcaLibVolIdentifier GetCurrentPatch();
void ApplyPatch(OcaLibVolIdentifier ID);
// Methods defined by OcaRoot
OcaBoolean GetLockable();
void SetLockNoReadWrite();
void Unlock();
OcaString GetRole();
void SetLockNoWrite();
OcaLockState GetLockState();
};