TR181-XPON  1.4.0
TR-181 PON manager.
_object_info Struct Reference

#include <dm_info.h>

Collaboration diagram for _object_info:

Data Fields

object_id_t id
 
const char * name
 
const char * generic_path
 
const char * key_name
 
uint32_t key_max_value
 
const char * singletons
 
const char * templates
 
const param_info_tparams
 
uint32_t n_params
 
bool has_rw_enable
 

Detailed Description

Info which is known at compile time about an object in the XPON DM.

  • id: unique ID identifying an object in the DM
  • name: symbolic name for 'id'. Mainly intended for log messages. E.g., "SoftwareImage".
  • generic_path: object path with all instance indexes replaced by 'x', e.g., "XPON.ONU.x.SoftwareImage"
  • key_name: the name of the parameter which is the unique key of the template object. Only applicable for template objects.
  • key_max_value: if the key referred to by 'key_name' is an uint32, this field indicates its max value.
  • singletons: string of comma-separated strings identifying the children which are singletons.
  • templates: string of comma-separated strings identifying the children which are templates.
  • params: pointer to array with info about the params of this object.
  • n_params: number of params in the array pointed to by 'params'
  • has_rw_enable: true if the object has a read-write Enable parameter. The code only looks at this field when creating a new instance of a template object.

Definition at line 122 of file dm_info.h.

Field Documentation

◆ generic_path

const char* _object_info::generic_path

Definition at line 125 of file dm_info.h.

◆ has_rw_enable

bool _object_info::has_rw_enable

Definition at line 132 of file dm_info.h.

◆ id

object_id_t _object_info::id

Definition at line 123 of file dm_info.h.

◆ key_max_value

uint32_t _object_info::key_max_value

Definition at line 127 of file dm_info.h.

◆ key_name

const char* _object_info::key_name

Definition at line 126 of file dm_info.h.

◆ n_params

uint32_t _object_info::n_params

Definition at line 131 of file dm_info.h.

◆ name

const char* _object_info::name

Definition at line 124 of file dm_info.h.

◆ params

const param_info_t* _object_info::params

Definition at line 130 of file dm_info.h.

◆ singletons

const char* _object_info::singletons

Definition at line 128 of file dm_info.h.

◆ templates

const char* _object_info::templates

Definition at line 129 of file dm_info.h.


The documentation for this struct was generated from the following file: