OcaNetworkManager#
This document describes the device side implementation of OcaNetworkManager. This class is documented in the AES70 standard as:
Optional manager that collects all network interface and network application objects to which the device belongs. Must be instantiated in every device that has more than one network object., May be instantiated at most once in any device., If instantiated, must have object number 6.
Overview#
- ClassID: 1.3.6
- Header:
aes70/device/OcaNetworkManager.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 OcaNetworkManager : 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 MyOcaNetworkManagerImplementation
{
// Methods defined by OcaNetworkManager
OcaList<OcaONo> GetNetworks();
OcaList<OcaONo> GetStreamNetworks();
OcaList<OcaONo> GetControlNetworks();
OcaList<OcaONo> GetMediaTransportNetworks();
OcaList<OcaONo> GetNetworkInterfaces();
OcaList<OcaONo> GetNetworkApplications();
// Methods defined by OcaRoot
OcaBoolean GetLockable();
void SetLockNoReadWrite();
void Unlock();
OcaString GetRole();
void SetLockNoWrite();
OcaLockState GetLockState();
};