Package LICOS.lib.cmdTlmDb.FILE


Classes

class  FILE
 FILE telecommand package class. More...
class  FswFile
 Functional interface to a generic file in FSW. More...
class  FswFileFromData
 A memory resident FSW file interface. More...
class  FswFileFromDisk
 A disk resident FSW file interface. More...
class  FswFileID
 Define a Flight Software File ID. More...
class  FswDirectoryItem
 Representation of an item in an FSW directory. More...
class  FswDirectory
 Representation of a FSW directory. More...

Functions

def addFmxHeader
 Add an fmx header to a file.

Variables

string __facility__ = "Online"
string __abstract__ = "FILE related mnemonics"
string __author__ = "Selim Tuvi <stuvi@slac.stanford.edu> SLAC - GLAST LAT I&T/Online"
string __date__ = "2005/07/23 00:08:27"
string __updated__ = "$Date: 2006/04/28 01:29:35 $"
string __version__ = "$Revision: 1.18 $"
string __release__ = "$Name: HEAD $"
string __credits__ = "SLAC"
string FILETOOL_TMP_PATH = "/tmp"
tuple FILETOOL_TMP_PATH = os.path.normpath(os.path.join('C:/', 'TEMP'))
 FILETOOL_HDR_ALLOW = True
string FSW_ADD_HEADER_CMD = 'file_hdr_prefix'
string FSW_COMPRESS_CMD = 'zcompress'
 FILETOOL_HDR_ALLOW = False
 FSW_ADD_HEADER_CMD = None
 FSW_COMPRESS_CMD = None
int FILETOOL_ARBITRARY_FILENUMBER = 0
int FILETOOL_ARBITRARY_FMXID = 0x20000000L
dictionary FILE_PBC_FILESTAT


Function Documentation

def LICOS.lib.cmdTlmDb.FILE.addFmxHeader   inFile,
  doCompress = False,
  preCompressed = False,
  name = None,
  type = None,
  key = None,
  timestamp = None
 

Add an fmx header to a file.

compressing on the fly if requested

Parameters:
inFile An FswFile object
doCompress True/False to compress on fly/not
preCompressed True/False if already compressed
name 
type 
key 
timestamp 
Returns:
An FswFile object with proper headers for upload

Definition at line 894 of file FILE.py.


Variable Documentation

string __abstract__ = "FILE related mnemonics" [static]
 

Definition at line 17 of file FILE.py.

string __author__ = "Selim Tuvi <stuvi@slac.stanford.edu> SLAC - GLAST LAT I&T/Online" [static]
 

Definition at line 18 of file FILE.py.

string __credits__ = "SLAC" [static]
 

Definition at line 23 of file FILE.py.

string __date__ = "2005/07/23 00:08:27" [static]
 

Definition at line 19 of file FILE.py.

string __facility__ = "Online" [static]
 

Definition at line 16 of file FILE.py.

string __release__ = "$Name: HEAD $" [static]
 

Definition at line 22 of file FILE.py.

string __updated__ = "$Date: 2006/04/28 01:29:35 $" [static]
 

Definition at line 20 of file FILE.py.

string __version__ = "$Revision: 1.18 $" [static]
 

Definition at line 21 of file FILE.py.

dictionary FILE_PBC_FILESTAT [static]
 

Initial value:

{ FSW_UNIT_SIU : [ "LBTHKP",      "LPBCFILESTAT",  "" ],
                      FSW_UNIT_EPU0: [ "LBTEPU0HKP",  "LPBC0FILESTAT", "diag" ],
                      FSW_UNIT_EPU1: [ "LBTEPU1HKP",  "LPBC1FILESTAT", "diag" ],
                      FSW_UNIT_EPU2: [ "LBTEPU2HKP",  "LPBC2FILESTAT", "diag" ],
                      }

Definition at line 61 of file FILE.py.

int FILETOOL_ARBITRARY_FILENUMBER = 0 [static]
 

Definition at line 56 of file FILE.py.

int FILETOOL_ARBITRARY_FMXID = 0x20000000L [static]
 

Definition at line 58 of file FILE.py.

FILETOOL_HDR_ALLOW = False [static]
 

Definition at line 51 of file FILE.py.

FILETOOL_HDR_ALLOW = True [static]
 

Definition at line 47 of file FILE.py.

tuple FILETOOL_TMP_PATH = os.path.normpath(os.path.join('C:/', 'TEMP')) [static]
 

Definition at line 43 of file FILE.py.

string FILETOOL_TMP_PATH = "/tmp" [static]
 

Definition at line 41 of file FILE.py.

FSW_ADD_HEADER_CMD = None [static]
 

Definition at line 52 of file FILE.py.

string FSW_ADD_HEADER_CMD = 'file_hdr_prefix' [static]
 

Definition at line 48 of file FILE.py.

FSW_COMPRESS_CMD = None [static]
 

Definition at line 53 of file FILE.py.

string FSW_COMPRESS_CMD = 'zcompress' [static]
 

Definition at line 49 of file FILE.py.


Generated on Thu Apr 27 20:53:03 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO