GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V2-2-1
Constituent: rim     Tag: rad750
#include "RIM_p.h"
#include "RIM/RIM_msgs.h"
#include "RIM_number.ic"
#include "RIM_AG_init_p.h"
#include <string.h>
Include dependency graph for RIM_map.c:
Functions | |
static unsigned | mapIndex (const RIM_map *map, RIM_type type, const RIM_addr *addr, unsigned *index) |
Convert the address into an index appropriate for this type of map as well as performing various checks on the input parameters. | |
size_t | RIM_sizeofMap (void) |
Calculate the total size of a RIM_map object. | |
RIM_map * | RIM_constructMap (void *buf) |
Initialise the supplied memory as a RIM_map object. | |
unsigned | RIM_setBit (RIM_map *map, RIM_type type, const RIM_addr *addr) |
Set a bit in the map. | |
unsigned | RIM_clearBit (RIM_map *map, RIM_type type, const RIM_addr *addr) |
Clear a bit in the map. | |
int | RIM_countMap (const RIM_map *map, RIM_type type) |
Count the number of set bits in the map. | |
int | RIM_checkBit (const RIM_map *map, RIM_type type, const RIM_addr *addr) |
Check a bit in the map. | |
void | RIM_clearMap (RIM_map *map) |
Clear the map. |
|
Convert the address into an index appropriate for this type of map as well as performing various checks on the input parameters.
|
|
Check a bit in the map.
|
|
Clear a bit in the map.
|
|
Clear the map.
|
|
Initialise the supplied memory as a RIM_map object.
|
|
Count the number of set bits in the map.
|
|
Set a bit in the map.
|
|
Calculate the total size of a RIM_map object.
|