Oma_Ov_Vector_Create()
Abstract
Creates an output vector.
Syntax
Oma_Ov_Vector_Create (ov_writer_ptr, type, report_name, obj_path, group_and_stat_name)
| Argument | Type | Description |
|---|---|---|
ov_writer_ptr |
OmaT_Ov_Writer * |
Writer to which the new vector will be added. |
type |
OmaT_Ov_Vector_Type |
Type of vector to create. This should reflect the type of object the statistic is being collected on; see Table 177 for applicable symbolic constants. |
report_name |
const char * |
Name of a report the statistic should be included in, or PRGC_NIL if the statistic is not part of a report. |
obj_path |
const char * |
Full path for the statistic's object (such as “Logical Network.boston.router”), or PRGC_NIL for a global statistic. |
group_and_stat_name |
const char * |
Full name of the statistic, including the group and statistic names. For example, if the statistic of interest is the “Load (bits/sec)” statistic in the “Ethernet” group, group_and_stat_name should be “Ethernet.Load (bits/sec)”. |
Return Type
OmaT_Ov_Vector *
The newly created vector. VOSC_NIL if the writer is not defined, group_and_stat_name is not specified, or the vector cannot be created.
Header
oma_ov.h