GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBI / dev > doc_gather / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

Alias.h File Reference

Defines a set of macros used to create function aliases. More...


Detailed Description

Defines a set of macros used to create function aliases.

Author:
JJRussell - russell@slac.stanford.edu
  CVS $Id: Alias.h,v 1.6 2011/03/24 20:50:58 apw Exp $

SYNOPSIS
Provides a uniform way to declare ALIASs or SYNONYMS for global symbols. The implementation is platform dependant, however the macros are universal.
USAGE
Suppose one has a facility ORG_ containing the routines ORG_get, ORG_set. Aliases ALIAS_get and ALIAS_set can be created using the following prescription.
   ALIAS_BEG(ORG_)
   ALIAS_FNC(int, ORG_get, ALIAS_get)
   ALIAS_FNC(int, ORG_set, ALIAS_set)
   ALIAS_END(ORG_)

TARGET PLATFORMS
All FSW supported platforms.
LIMITATIONS
Some platforms demand that the symbol being aliased be defined in the same file where the aliasing is occurring. This is an unfortunate limitation. One cannot, for example, alias a symbol to a system routine.

Generated on Thu Aug 4 14:20:46 2011 by  doxygen 1.5.8