RTEMS  5.1
Data Structures | Macros | Typedefs | Enumerations | Functions
objectdata.h File Reference

Object Handler Data Structures. More...

#include <rtems/score/object.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/rbtree.h>

Go to the source code of this file.

Data Structures

struct  Objects_Control
 
struct  Objects_Information
 The information structure used to manage each API class of objects. More...
 

Macros

#define OBJECTS_NO_STRING_NAME   0
 Constant for the object information string name length to indicate that this object class has no string names.
 
#define OBJECTS_INFORMATION_MP(name, extract)
 
#define OBJECTS_INFORMATION_DEFINE_ZERO(name, api, cls, nl)
 Statically initializes an objects information. More...
 
#define OBJECTS_INFORMATION_DEFINE(name, api, cls, type, max, nl, ex)
 Statically initializes an objects information. More...
 

Typedefs

typedef struct Objects_Information Objects_Information
 

Enumerations

enum  Objects_Internal_API { OBJECTS_INTERNAL_NO_CLASS = 0, OBJECTS_INTERNAL_THREADS = 1 }
 
enum  Objects_Classic_API {
  OBJECTS_CLASSIC_NO_CLASS = 0, OBJECTS_RTEMS_TASKS = 1, OBJECTS_RTEMS_TIMERS, OBJECTS_RTEMS_SEMAPHORES,
  OBJECTS_RTEMS_MESSAGE_QUEUES, OBJECTS_RTEMS_PARTITIONS, OBJECTS_RTEMS_REGIONS, OBJECTS_RTEMS_PORTS,
  OBJECTS_RTEMS_PERIODS, OBJECTS_RTEMS_EXTENSIONS, OBJECTS_RTEMS_BARRIERS
}
 
enum  Objects_POSIX_API {
  OBJECTS_POSIX_NO_CLASS = 0, OBJECTS_POSIX_THREADS = 1, OBJECTS_POSIX_KEYS, OBJECTS_POSIX_MESSAGE_QUEUES,
  OBJECTS_POSIX_SEMAPHORES, OBJECTS_POSIX_TIMERS, OBJECTS_POSIX_SHMS
}
 

Functions

Objects_Control_Objects_Allocate_none (Objects_Information *information)
 Always return NULL. More...
 
Objects_Control_Objects_Allocate_static (Objects_Information *information)
 Return an inactive object or NULL. More...
 
Objects_Control_Objects_Allocate_unlimited (Objects_Information *information)
 Return an inactive object or NULL. More...
 
void _Objects_Free_static (Objects_Information *information, Objects_Control *the_object)
 Free the object. More...
 
void _Objects_Free_unlimited (Objects_Information *information, Objects_Control *the_object)
 Free the object. More...
 

Detailed Description

Object Handler Data Structures.