Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Timky.cxx File Reference

Execute TIM keywords. More...

#include <iostream>
#include <string.h>
#include <ctype.h>
#include "../RodCrate/TimDefine.h"
#include "../RodCrate/TimSequin.h"
#include "../RodCrate/TimModule.h"
#include "../VmeInterface/RCCVmeInterface.h"
#include "../Timlet/ask.h"

Include dependency graph for Timky.cxx:

Include dependency graph

Go to the source code of this file.

Defines

#define MAXLINE   128

Enumerations

enum  name { NONE = -999 }

Functions

int damon (const char *FileName, unsigned short *buffer)
int winky (const char *FileName)
int open_window (const int Addr, const int Mode)
FILE * open_file (const char *FileName, const char *FileMode)
int close_file (FILE *fp, const char *FileName)
void test (void)
void timKeyword (const char *String)
int main (int argc, char *argv[])
unsigned short * vme_get_window (const int dummy0, const int dummy1, const int dummy2)

Variables

const UINT32 baseAddr = 0x0D000000
const UINT32 mapSize = 0x10000
VmeInterface * vme = new RCCVmeInterface()
TimModule * tim = new TimModule( baseAddr, mapSize, *vme )
TimSequin * seq = new TimSequin()


Detailed Description

Execute TIM keywords.

This program executes the relevant method for TIM keywords, which may be read from a file or interactively.

Contributors: John Lane <jbl@hep.ucl.ac.uk> - originator

$Header$

Definition in file Timky.cxx.


Define Documentation

#define MAXLINE   128
 

Definition at line 39 of file Timky.cxx.

Referenced by test, timKeyword, and winky.


Enumeration Type Documentation

enum name
 

Enumeration values:
NONE 

Definition at line 37 of file Timky.cxx.


Function Documentation

int close_file FILE *    fp,
const char *    FileName
 

Definition at line 123 of file Timky.cxx.

Referenced by damon, and winky.

int damon const char *    FileName,
unsigned short *    buffer
 

Definition at line 180 of file Timky.cxx.

References close_file, open_file, SctPixelRod::TIM_BCR, SctPixelRod::TIM_CAL, SctPixelRod::TIM_ECR, SctPixelRod::TIM_L1A, SctPixelRod::TIM_SEQ_SIZE, SctPixelRod::TIM_SID, SctPixelRod::TIM_STT, and timKeyword.

Referenced by timKeyword.

int main int    argc,
char *    argv[]
 

Definition at line 60 of file Timky.cxx.

References seq, test, tim, vme, and winky.

FILE * open_file const char *    FileName,
const char *    FileMode
 

Definition at line 108 of file Timky.cxx.

Referenced by damon, and winky.

int open_window const int    Addr,
const int    Mode
 

Definition at line 94 of file Timky.cxx.

References tim.

Referenced by timKeyword.

void test void   
 

Definition at line 230 of file Timky.cxx.

References MAXLINE, tim, and timKeyword.

Referenced by main.

void timKeyword const char *    String
 

Definition at line 247 of file Timky.cxx.

References damon, mapSize, MAXLINE, SctPixelRod::Name, NONE, open_window, seq, SIZE, tim, SctPixelRod::TIM_BCR, SctPixelRod::TIM_CAL, SctPixelRod::TIM_ECR, SctPixelRod::TIM_L1A, SctPixelRod::TIM_SEQ_SIZE, and winky.

Referenced by damon, test, and winky.

unsigned short* vme_get_window const int    dummy0,
const int    dummy1,
const int    dummy2
 

Definition at line 89 of file Timky.cxx.

int winky const char *    FileName
 

Definition at line 134 of file Timky.cxx.

References close_file, MAXLINE, open_file, and timKeyword.

Referenced by main, and timKeyword.


Variable Documentation

const UINT32 baseAddr = 0x0D000000
 

Definition at line 53 of file Timky.cxx.

Referenced by test, and SctPixelRod::TimModule::TimModule.

const UINT32 mapSize = 0x10000
 

Definition at line 54 of file Timky.cxx.

Referenced by test, timKeyword, and SctPixelRod::TimModule::TimModule.

TimSequin* seq = new TimSequin()
 

Definition at line 58 of file Timky.cxx.

Referenced by main, and timKeyword.

TimModule* tim = new TimModule( baseAddr, mapSize, *vme )
 

Definition at line 57 of file Timky.cxx.

Referenced by main, open_window, test, and timKeyword.

VmeInterface* vme = new RCCVmeInterface()
 

Definition at line 56 of file Timky.cxx.

Referenced by main, test, and SctPixelRod::TimModule::TimModule.


Generated on Sun Jun 27 19:57:33 2004 for TimModule by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002