FswFileID Class Reference

Define a Flight Software File ID. More...

List of all members.

Public Member Functions

def __init__
 Polymorphic constructor.
def __computeFileID
 Compute the 32 bit FSW destination from component parts.
def id
 retrieve file ID
def device
 retrieve device
def directory
 retrieve file ID
def fileNumber
 retrieve file ID
def __str__

Static Public Attributes

int MASK_DEVICE = 0x7
int MASK_DIRECTORY = 0x7F
int MASK_FILENUM = 0x3FFFFF
int SHFT_DEVICE = 29
int SHFT_DIRECTORY = 22
int SHFT_FILENUM = 0


Detailed Description

Define a Flight Software File ID.

Defines the FSW file id, as specified in the FILE FSW traveler document

Definition at line 710 of file FILE.py.


Member Function Documentation

def __computeFileID   self,
  device,
  directory,
  filNum
 

Compute the 32 bit FSW destination from component parts.

Definition at line 742 of file FILE.py.

def __init__   self,
  argv,
  argd
 

Polymorphic constructor.

Takes 1 or 3 arguments {fileID} or {device,directory,fileNumber} Arguments can be either named or not. A mix of both named and unnamed args is verboten.

Parameters:
fileID A LAT file ID (32 bit packed)
device Device to store file to [0..7]
directory Directory to store file to [0..0x7F]
fileNumber File Number [0..0x3FFFFF]

Definition at line 718 of file FILE.py.

def __str__   self  ) 
 

Definition at line 789 of file FILE.py.

def device   self  ) 
 

retrieve device

Returns:
3 bit device

Definition at line 768 of file FILE.py.

def directory   self  ) 
 

retrieve file ID

Returns:
7 bit directory

Definition at line 775 of file FILE.py.

def fileNumber   self  ) 
 

retrieve file ID

Returns:
22 bit file Number

Definition at line 782 of file FILE.py.

def id   self  ) 
 

retrieve file ID

Returns:
32 bit file ID

Definition at line 761 of file FILE.py.


Member Data Documentation

int MASK_DEVICE = 0x7 [static]
 

Definition at line 712 of file FILE.py.

int MASK_DIRECTORY = 0x7F [static]
 

Definition at line 713 of file FILE.py.

int MASK_FILENUM = 0x3FFFFF [static]
 

Definition at line 714 of file FILE.py.

int SHFT_DEVICE = 29 [static]
 

Definition at line 715 of file FILE.py.

int SHFT_DIRECTORY = 22 [static]
 

Definition at line 716 of file FILE.py.

int SHFT_FILENUM = 0 [static]
 

Definition at line 717 of file FILE.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:04 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO