Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

LATPcellHeader Class Reference

Class for accessing fields in the LAT protocol cell header longword. More...

#include <LATp.h>

List of all members.

Public Member Functions

 LATPcellHeader (unsigned header)
 Constructor to initialize the class with a LATp cell header word.
unsigned parity ()
 Method returning the state of the LATp cell parity.
unsigned source ()
 Method returning the contribution source ID.
unsigned protocol ()
 Method returning the PROTOCOL value.
unsigned destination ()
 Method returning the contribution destination ID.
unsigned respond ()
 Method returning the state of the RESPOND bit.
unsigned more ()
 Method returning the state of the MORE bit.

Static Public Member Functions

unsigned parity (unsigned header)
 Static method returning the state of the LATp cell parity.
unsigned source (unsigned header)
 Static method returning the contribution source ID.
unsigned protocol (unsigned header)
 Static method returning the PROTOCOL value.
unsigned destination (unsigned header)
 Static method returning the contribution destination ID.
unsigned respond (unsigned header)
 Static method returning the state of the RESPOND bit.
unsigned more (unsigned header)
 Static method returning the state of the MORE bit.


Detailed Description

Class for accessing fields in the LAT protocol cell header longword.

Author:
Ric Claus -- GLAST LAT I&T/Online - (claus@slac.stanford.edu)
Revision
1.3
Date:
January 22, 2003 -- Created
Id
LATp.h,v 1.3 2004/04/21 00:04:57 claus Exp

Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.


Member Function Documentation

unsigned LATPcellHeader::destination  )  [inline]
 

Method returning the contribution destination ID.

Returns:
The state of the contribution destination ID

unsigned LATPcellHeader::destination unsigned  header  )  [inline, static]
 

Static method returning the contribution destination ID.

Parameters:
header - A LATp cell header word
Returns:
The state of the contribution destination ID

unsigned LATPcellHeader::more  )  [inline]
 

Method returning the state of the MORE bit.

N.B. that the MORE bit and the RESPOND bit are the same bit.

Returns:
The state of the MORE bit

unsigned LATPcellHeader::more unsigned  header  )  [inline, static]
 

Static method returning the state of the MORE bit.

N.B. that the MORE bit and the RESPOND bit are the same bit.

Parameters:
header - A LATp cell header word
Returns:
The state of the MORE bit

unsigned LATPcellHeader::parity  )  [inline]
 

Method returning the state of the LATp cell parity.

Returns:
The state of the LATp cell parity

unsigned LATPcellHeader::parity unsigned  header  )  [inline, static]
 

Static method returning the state of the LATp cell parity.

Parameters:
header - A LATp cell header word
Returns:
The state of the LATp cell parity

unsigned LATPcellHeader::protocol  )  [inline]
 

Method returning the PROTOCOL value.

Returns:
The state of the PROTOCOL value

unsigned LATPcellHeader::protocol unsigned  header  )  [inline, static]
 

Static method returning the PROTOCOL value.

Parameters:
header - A LATp cell header word
Returns:
The state of the PROTOCOL value

unsigned LATPcellHeader::respond  )  [inline]
 

Method returning the state of the RESPOND bit.

N.B. that the RESPOND bit and the MORE bit are the same bit.

Returns:
The state of the RESPOND bit

unsigned LATPcellHeader::respond unsigned  header  )  [inline, static]
 

Static method returning the state of the RESPOND bit.

N.B. that the RESPOND bit and the MORE bit are the same bit.

Parameters:
header - A LATp cell header word
Returns:
The state of the RESPOND bit

unsigned LATPcellHeader::source  )  [inline]
 

Method returning the contribution source ID.

Returns:
The state of the contribution source ID

unsigned LATPcellHeader::source unsigned  header  )  [inline, static]
 

Static method returning the contribution source ID.

Parameters:
header - A LATp cell header word
Returns:
The state of the contribution source ID


The documentation for this class was generated from the following file:
Generated on Thu Sep 29 12:13:42 2005 for LDF v05-07-00 by doxygen 1.3.9.1