TIM SDK
TIM API C
|
|
Contains all counters for a specific counter type.
Object type counters.
Instances of this class are returned by various calls:
Functions | |
ta_e_result_code_t | ta_counters_get_counter_type (ta_object_t counters, ta_e_counter_type_t *counter_type) |
Specifies what kind of counter are demanded. More... | |
ta_e_result_code_t | ta_counters_get_seq_counter (ta_object_t counters, int *seq_counter) |
Activation or period sequence counter depending on type. More... | |
ta_e_result_code_t | ta_counters_get_counters (ta_object_t counters, ta_object_t *list_counters) |
Counters per brand. More... | |
ta_e_result_code_t ta_counters_get_counter_type | ( | ta_object_t | counters, |
ta_e_counter_type_t * | counter_type | ||
) |
Specifies what kind of counter are demanded.
[in] | counters | Object instance of type counters. |
[out] | counter_type | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to counter_type. |
ta_c_rc_invalid_argument | counters is ta_invalid_object. |
ta_c_rc_invalid_argument | counters is not of type counters. |
ta_c_rc_invalid_argument | counter_type is null-pointer. |
ta_e_result_code_t ta_counters_get_counters | ( | ta_object_t | counters, |
ta_object_t * | list_counters | ||
) |
Counters per brand.
[in] | counters | Object instance of type counters. |
[out] | list_counters | Pointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type counter. |
ta_c_rc_ok | Object instance written to list_counters. |
ta_c_rc_invalid_argument | counters is ta_invalid_object. |
ta_c_rc_invalid_argument | counters is not of type counters. |
ta_c_rc_invalid_argument | list_counters is null-pointer. |
ta_e_result_code_t ta_counters_get_seq_counter | ( | ta_object_t | counters, |
int * | seq_counter | ||
) |
Activation or period sequence counter depending on type.
[in] | counters | Object instance of type counters. |
[out] | seq_counter | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to seq_counter. |
ta_c_rc_invalid_argument | counters is ta_invalid_object. |
ta_c_rc_invalid_argument | counters is not of type counters. |
ta_c_rc_invalid_argument | seq_counter is null-pointer. |