DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
refda_amm_modval_state_t Struct Reference

Modifiable value state counter. More...

#include <runctx.h>

+ Collaboration diagram for refda_amm_modval_state_t:

Data Fields

uint64_t _ctr
 The internal counter.
 
void(* notify )(struct refda_amm_modval_state_s *obj, void *user_data)
 A callback used when the state counter is incremented.
 
void * notify_user_data
 Optional context data for the notify callback.
 

Detailed Description

Modifiable value state counter.

This is used by EDD and VAR objects.

Field Documentation

◆ _ctr

uint64_t refda_amm_modval_state_t::_ctr

The internal counter.

Referenced by refda_amm_modval_state_inc(), and refda_amm_modval_state_init().

◆ notify

void(* refda_amm_modval_state_t::notify) (struct refda_amm_modval_state_s *obj, void *user_data)

A callback used when the state counter is incremented.

Parameters
objThe specific counter which changed.
user_dataA copy of the notify_user_data pointer.

Referenced by refda_amm_modval_state_inc(), and refda_amm_modval_state_init().

◆ notify_user_data

void* refda_amm_modval_state_t::notify_user_data

Optional context data for the notify callback.

Referenced by refda_amm_modval_state_inc(), and refda_amm_modval_state_init().


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