Design Pattern Examples
Overview of object-oriented design patterns
NumberChangedFunctionList Struct Reference

Represents a dynamic list of function pointers of the type NumberChangedFunction. More...

#include <Observer_NumberChangedFunctionList.h>

Collaboration diagram for NumberChangedFunctionList:
Collaboration graph

Public Attributes

NumberChangedFunctionfunctions
 Array of function pointers.
 
size_t functions_count
 Number of active function pointers in the functions array.
 
size_t allocation_count
 The number of function pointers that can be held in the functions array.
 

Detailed Description

Represents a dynamic list of function pointers of the type NumberChangedFunction.

Definition at line 26 of file Observer_NumberChangedFunctionList.h.

Member Data Documentation

◆ allocation_count

size_t allocation_count

The number of function pointers that can be held in the functions array.

Definition at line 30 of file Observer_NumberChangedFunctionList.h.

Referenced by NumberChangedFunctionList_Add(), NumberChangedFunctionList_Copy(), NumberChangedFunctionList_Initialize(), and NumberChangedFunctionList_Remove().

◆ functions

◆ functions_count

size_t functions_count

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