RTEMS  5.1
Data Structures | Macros | Functions
object.h File Reference
#include <stdint.h>
#include <rtems/score/object.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>

Go to the source code of this file.

Data Structures

struct  rtems_object_api_class_information
 

Macros

#define rtems_build_id(_api, _class, _node, _index)   _Objects_Build_id( _api, _class, _node, _index )
 Build Object Id. More...
 
#define rtems_build_name(_C1, _C2, _C3, _C4)   _Objects_Build_name( _C1, _C2, _C3, _C4 )
 Build Thirty-Two Bit Object Name. More...
 
#define rtems_object_id_get_api(_id)   _Objects_Get_API( _id )
 Get API Portion of Object Id. More...
 
#define rtems_object_id_get_class(_id)   _Objects_Get_class( _id )
 Get Class Portion of Object Id. More...
 
#define rtems_object_id_get_node(_id)   _Objects_Get_node( _id )
 Get Node Portion of Object Id. More...
 
#define rtems_object_id_get_index(_id)   _Objects_Get_index( _id )
 Get Index Portion of Object Id. More...
 
#define rtems_object_id_api_minimum()   OBJECTS_INTERNAL_API
 Get Lowest Valid API Index. More...
 
#define rtems_object_id_api_maximum()   OBJECTS_APIS_LAST
 Get Highest Valid API Index. More...
 

Functions

rtems_status_code rtems_object_get_classic_name (rtems_id id, rtems_name *name)
 Obtain Name of Object. More...
 
char * rtems_object_get_name (rtems_id id, size_t length, char *name)
 Obtain Object Name as String. More...
 
rtems_status_code rtems_object_set_name (rtems_id id, const char *name)
 Set Name of Object. More...
 
int rtems_object_api_minimum_class (int api)
 Get Lowest Valid Class Value. More...
 
int rtems_object_api_maximum_class (int api)
 Get Highest Valid Class Value. More...
 
int rtems_object_id_api_maximum_class (int api)
 Get Highest Valid Class Value. More...
 
const char * rtems_object_get_api_name (int api)
 Get API Name. More...
 
const char * rtems_object_get_api_class_name (int the_api, int the_class)
 Get Class Name. More...
 
rtems_status_code rtems_object_get_class_information (int the_api, int the_class, rtems_object_api_class_information *info)
 Get Class Information. More...
 
RTEMS_INLINE_ROUTINE uint16_t rtems_object_get_local_node (void)
 Get the local MPCI node number. More...
 

Detailed Description

This include file defines Classic API interfaces to Object Services.