Skip to content

OcaNetworkApplication#

This document describes the device side implementation of OcaNetworkApplication. This class is documented in the AES70 standard as:

Base class for network applications


Overview#

Class Declaration#

The device side implementation has the following signature.

namespace aes70::device
{
  template <class Implementation>
  class OcaNetworkApplication : public OcaRoot<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 MyOcaNetworkApplicationImplementation
{
  // Methods defined by OcaNetworkApplication
  OcaString GetLabel();
  void SetLabel(OcaString Label);
  OcaONo GetOwner();
  std::tuple<OcaRolePath,OcaONoPath> GetPath();
  OcaList<OcaNetworkInterfaceAssignment> GetNetworkInterfaceAssignments();
  void SetNetworkInterfaceAssignments(OcaList<OcaNetworkInterfaceAssignment> Assignments);
  OcaString GetAdaptationIdentifier();
  OcaAdaptationData GetAdaptationData();
  void SetAdaptationData(OcaAdaptationData Data);
  OcaCounterSet GetCounterSet();
  OcaCounter GetCounter(OcaID16 CounterID);
  void AttachCounterNotifier(OcaID16 CounterID, OcaONo ONo);
  void DetachCounterNotifier(OcaID16 CounterID, OcaONo ONo);
  void ResetCounters();

  // Methods defined by OcaRoot
  OcaBoolean GetLockable();
  void SetLockNoReadWrite();
  void Unlock();
  OcaString GetRole();
  void SetLockNoWrite();
  OcaLockState GetLockState();

};

Events#