RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Macros | Typedefs | Enumerations | Functions | Variables
objectimpl.h File Reference

This header file provides interfaces of the Object Handler which are only used by the implementation. More...

#include <rtems/score/objectdata.h>
#include <rtems/score/apimutex.h>
#include <rtems/score/assert.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/status.h>
#include <rtems/score/sysstate.h>
#include <rtems/score/threaddispatch.h>

Go to the source code of this file.

Macros

#define OBJECTS_INTERNAL_CLASSES_LAST   OBJECTS_INTERNAL_THREADS
 
#define OBJECTS_RTEMS_CLASSES_LAST   OBJECTS_RTEMS_BARRIERS
 
#define OBJECTS_POSIX_CLASSES_LAST   OBJECTS_POSIX_SHMS
 
#define _Objects_Maximum_nodes   1
 
#define OBJECTS_INDEX_MINIMUM   1U
 

Typedefs

typedef bool(* Objects_Name_comparators) (void *, void *, uint16_t)
 

Enumerations

enum  Objects_Fake_objects_API { OBJECTS_FAKE_OBJECTS_NO_CLASS = 0 , OBJECTS_FAKE_OBJECTS_SCHEDULERS = 1 }
 
enum  Objects_Get_by_name_error { OBJECTS_GET_BY_NAME_INVALID_NAME , OBJECTS_GET_BY_NAME_NAME_TOO_LONG , OBJECTS_GET_BY_NAME_NO_OBJECT }
 

Functions

Objects_Maximum _Objects_Extend_information (Objects_Information *information)
 Extends an object class information record.
 
void _Objects_Free_objects_block (Objects_Information *information, Objects_Maximum block)
 Free the objects block with the specified index.
 
void _Objects_Shrink_information (Objects_Information *information)
 Shrinks an object class information record.
 
void _Objects_Initialize_information (Objects_Information *information)
 Initializes the specified objects information.
 
unsigned int _Objects_API_maximum_class (uint32_t api)
 Returns highest numeric value of a valid API for the specified API.
 
Objects_Control_Objects_Allocate (Objects_Information *information)
 Allocates an object.
 
Status_Control _Objects_Name_to_id_u32 (uint32_t name, uint32_t node, Objects_Id *id, const Objects_Information *information)
 Searches an object of the specified class with the specified name on the specified set of nodes.
 
Objects_Control_Objects_Get_by_name (const Objects_Information *information, const char *name, size_t *name_length_p, Objects_Get_by_name_error *error)
 Gets an object control block identified by its name.
 
Status_Control _Objects_Id_to_name (Objects_Id id, Objects_Name *name)
 Returns the name associated with object id.
 
Objects_Control_Objects_Get (Objects_Id id, ISR_lock_Context *lock_context, const Objects_Information *information)
 Maps the specified object identifier to the associated local object control block.
 
Objects_Control_Objects_Get_no_protection (Objects_Id id, const Objects_Information *information)
 Maps object ids to object control blocks.
 
Objects_Control_Objects_Get_next (Objects_Id id, const Objects_Information *information, Objects_Id *next_id_p)
 Gets the next open object after the specified object identifier.
 
Objects_Information_Objects_Get_information (Objects_APIs the_api, uint16_t the_class)
 Gets object information.
 
Objects_Information_Objects_Get_information_id (Objects_Id id)
 Gets information of an object from an ID.
 
char * _Objects_Get_name_as_string (Objects_Id id, size_t length, char *name)
 Gets object name in the form of a C string.
 
size_t _Objects_Name_to_string (Objects_Name name, bool is_string, char *buffer, size_t buffer_size)
 Converts the specified object name to a text representation.
 
Status_Control _Objects_Set_name (const Objects_Information *information, Objects_Control *the_object, const char *name)
 Sets objects name.
 
void _Objects_Namespace_remove_string (const Objects_Information *information, Objects_Control *the_object)
 Removes object with a string name from its namespace.
 
void _Objects_Close (const Objects_Information *information, Objects_Control *the_object)
 Closes object.
 
Objects_Maximum _Objects_Active_count (const Objects_Information *information)
 Returns the count of active objects.
 
void _Objects_Free_nothing (void *ptr)
 This function does nothing.
 

Variables

Objects_Information **const _Objects_Information_table [OBJECTS_APIS_LAST+1]
 

Detailed Description

This header file provides interfaces of the Object Handler which are only used by the implementation.