OcaRoot#
This document describes the device side implementation of OcaRoot. This class is documented in the AES70 standard as:
The abstract root class of which all OCA classes derive. It offers basic OCA functionality such as locking an object and generalized data access.
Overview#
- ClassID: 1
- Header:
aes70/device/OcaRoot.hpp
- Namespace:
aes70::device
- Inheritance: aes70::device::object
Class Declaration#
The device side implementation has the following signature.
namespace aes70::device
{
template <class Implementation>
class OcaRoot : public object
{
};
}
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 MyOcaRootImplementation
{
// Methods defined by OcaRoot
OcaBoolean GetLockable();
void SetLockNoReadWrite();
void Unlock();
OcaString GetRole();
void SetLockNoWrite();
OcaLockState GetLockState();
};