ChibiOS/RT  5.1.0
ch_objects_factory Struct Reference

Type of the factory main object. More...

#include <chfactory.h>

Collaboration diagram for ch_objects_factory:
Collaboration graph

Data Fields

mutex_t mtx
 Factory access mutex or semaphore. More...
 
dyn_list_t obj_list
 List of the registered objects. More...
 
memory_pool_t obj_pool
 Pool of the available registered objects. More...
 
dyn_list_t buf_list
 List of the allocated buffer objects. More...
 
dyn_list_t sem_list
 List of the allocated semaphores. More...
 
memory_pool_t sem_pool
 Pool of the available semaphores. More...
 
dyn_list_t mbx_list
 List of the allocated buffer objects. More...
 
dyn_list_t fifo_list
 List of the allocated "objects FIFO" objects. More...
 

Detailed Description

Type of the factory main object.

Definition at line 277 of file chfactory.h.

Field Documentation

mutex_t ch_objects_factory::mtx

Factory access mutex or semaphore.

Definition at line 282 of file chfactory.h.

Referenced by _factory_init().

dyn_list_t ch_objects_factory::obj_list

List of the registered objects.

Definition at line 289 of file chfactory.h.

Referenced by _factory_init(), chFactoryFindObject(), chFactoryFindObjectByPointer(), chFactoryRegisterObject(), and chFactoryReleaseObject().

memory_pool_t ch_objects_factory::obj_pool

Pool of the available registered objects.

Definition at line 293 of file chfactory.h.

Referenced by _factory_init(), chFactoryRegisterObject(), and chFactoryReleaseObject().

dyn_list_t ch_objects_factory::buf_list

List of the allocated buffer objects.

Definition at line 298 of file chfactory.h.

Referenced by _factory_init(), chFactoryCreateBuffer(), chFactoryFindBuffer(), and chFactoryReleaseBuffer().

dyn_list_t ch_objects_factory::sem_list

List of the allocated semaphores.

Definition at line 304 of file chfactory.h.

Referenced by _factory_init(), chFactoryCreateSemaphore(), chFactoryFindSemaphore(), and chFactoryReleaseSemaphore().

memory_pool_t ch_objects_factory::sem_pool

Pool of the available semaphores.

Definition at line 308 of file chfactory.h.

Referenced by _factory_init(), chFactoryCreateSemaphore(), and chFactoryReleaseSemaphore().

dyn_list_t ch_objects_factory::mbx_list

List of the allocated buffer objects.

Definition at line 314 of file chfactory.h.

Referenced by _factory_init(), chFactoryCreateMailbox(), chFactoryFindMailbox(), and chFactoryReleaseMailbox().

dyn_list_t ch_objects_factory::fifo_list

List of the allocated "objects FIFO" objects.

Definition at line 320 of file chfactory.h.

Referenced by _factory_init(), chFactoryCreateObjectsFIFO(), chFactoryFindObjectsFIFO(), and chFactoryReleaseObjectsFIFO().