|
ChibiOS/NIL
4.0.1
|
ChibiOS objects factory and registry code. More...
Go to the source code of this file.
Functions | |
| void | _factory_init (void) |
| Initializes the objects factory. More... | |
| registered_object_t * | chFactoryRegisterObject (const char *name, void *objp) |
| Registers a generic object. More... | |
| registered_object_t * | chFactoryFindObject (const char *name) |
| Retrieves a registered object. More... | |
| registered_object_t * | chFactoryFindObjectByPointer (void *objp) |
| Retrieves a registered object by pointer. More... | |
| void | chFactoryReleaseObject (registered_object_t *rop) |
| Releases a registered object. More... | |
| dyn_buffer_t * | chFactoryCreateBuffer (const char *name, size_t size) |
| Creates a generic dynamic buffer object. More... | |
| dyn_buffer_t * | chFactoryFindBuffer (const char *name) |
| Retrieves a dynamic buffer object. More... | |
| void | chFactoryReleaseBuffer (dyn_buffer_t *dbp) |
| Releases a dynamic buffer object. More... | |
| dyn_semaphore_t * | chFactoryCreateSemaphore (const char *name, cnt_t n) |
| Creates a dynamic semaphore object. More... | |
| dyn_semaphore_t * | chFactoryFindSemaphore (const char *name) |
| Retrieves a dynamic semaphore object. More... | |
| void | chFactoryReleaseSemaphore (dyn_semaphore_t *dsp) |
| Releases a dynamic semaphore object. More... | |
| dyn_mailbox_t * | chFactoryCreateMailbox (const char *name, size_t n) |
| Creates a dynamic mailbox object. More... | |
| dyn_mailbox_t * | chFactoryFindMailbox (const char *name) |
| Retrieves a dynamic mailbox object. More... | |
| void | chFactoryReleaseMailbox (dyn_mailbox_t *dmp) |
| Releases a dynamic mailbox object. More... | |
| dyn_objects_fifo_t * | chFactoryCreateObjectsFIFO (const char *name, size_t objsize, size_t objn, unsigned objalign) |
| Creates a dynamic "objects FIFO" object. More... | |
| dyn_objects_fifo_t * | chFactoryFindObjectsFIFO (const char *name) |
| Retrieves a dynamic "objects FIFO" object. More... | |
| void | chFactoryReleaseObjectsFIFO (dyn_objects_fifo_t *dofp) |
| Releases a dynamic "objects FIFO" object. More... | |
| dyn_pipe_t * | chFactoryCreatePipe (const char *name, size_t size) |
| Creates a dynamic pipe object. More... | |
| dyn_pipe_t * | chFactoryFindPipe (const char *name) |
| Retrieves a dynamic pipe object. More... | |
| void | chFactoryReleasePipe (dyn_pipe_t *dpp) |
| Releases a dynamic pipe object. More... | |
Variables | |
| objects_factory_t | ch_factory |
| Factory object static instance. More... | |
ChibiOS objects factory and registry code.
Definition in file chfactory.c.