GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V1-0-0

Constituent: rim     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

RIM_descriptions.ic File Reference

Static inline functions that calculate some simple component properties. More...

#include "RIM_AG_descriptions_s.h"
#include <string.h>

Include dependency graph for RIM_descriptions.ic:

This graph shows which files directly or indirectly include this file:


Functions

static size_t sizeofCpt (const CptDescription *cd)
 Returns the size of a component, rounded to an integer boundary.
static void clearCpt (void *cpt, const CptDescription *cd)
 Clears all the bits of the data block, assuming that it is described by the CptDescription.
static void copyCpt (void *dest, const void *source, const CptDescription *cd)
 Copy source component to dest component.
static int compareCpt (const void *this, const void *that, const CptDescription *cd)
 Compare two components.

Detailed Description

Static inline functions that calculate some simple component properties.

Author:
James Swain & Owen Saxton
Id
RIM_descriptions.ic,v 1.1 2007/03/16 19:24:01 saxton Exp

Function Documentation

void clearCpt void *  cpt,
const CptDescription cd
[inline, static]
 

Clears all the bits of the data block, assuming that it is described by the CptDescription.

Parameters:
cpt Pointer to start of the component data
cd Description of the component registers

int compareCpt const void *  this,
const void *  that,
const CptDescription cd
[inline, static]
 

Compare two components.

Parameters:
this Pointer to one of the components being compared
that Pointer to the other component be compared
cd Description of the component registers
Return values:
0 if identical
non-zero if different

void copyCpt void *  dest,
const void *  source,
const CptDescription cd
[inline, static]
 

Copy source component to dest component.

Parameters:
dest Destination to copy to
source Place to copy from
cd Description of the component registers

size_t sizeofCpt const CptDescription cd  )  [inline, static]
 

Returns the size of a component, rounded to an integer boundary.

Parameters:
cd Description of the component registers
Returns:
Size of data volume required to hold the component


Generated on Fri Jun 15 02:02:35 2007 by  doxygen 1.4.4