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 199 of file fileTools.py.


Member Function Documentation

def __computeFileID   self,
  device,
  directory,
  filNum
 

Compute the 32 bit FSW destination from component parts.

Definition at line 231 of file fileTools.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 207 of file fileTools.py.

def __str__   self  ) 
 

Definition at line 274 of file fileTools.py.

def device   self  ) 
 

retrieve device

Returns:
3 bit device

Definition at line 253 of file fileTools.py.

def directory   self  ) 
 

retrieve file ID

Returns:
7 bit directory

Definition at line 260 of file fileTools.py.

def fileNumber   self  ) 
 

retrieve file ID

Returns:
22 bit file Number

Definition at line 267 of file fileTools.py.

def id   self  ) 
 

retrieve file ID

Returns:
32 bit file ID

Definition at line 246 of file fileTools.py.


Member Data Documentation

int MASK_DEVICE = 0x7 [static]
 

Definition at line 201 of file fileTools.py.

int MASK_DIRECTORY = 0x7F [static]
 

Definition at line 202 of file fileTools.py.

int MASK_FILENUM = 0x3FFFFF [static]
 

Definition at line 203 of file fileTools.py.

int SHFT_DEVICE = 29 [static]
 

Definition at line 204 of file fileTools.py.

int SHFT_DIRECTORY = 22 [static]
 

Definition at line 205 of file fileTools.py.

int SHFT_FILENUM = 0 [static]
 

Definition at line 206 of file fileTools.py.


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