Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

loadClist.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include "primNames.h"
#include "commandListDefinitions.h"
#include "primListTableDefinitions.h"
#include "primParams.h"

Go to the source code of this file.

Functions

void loadClist (const char *fname, int depth)
void loadPlist (const char *fname, int depth)
char * spaces (int num)
char * translateName (const char *oldFname)
char * getName (int id)
char * getTaskName (int id)
void printDataChunk (unsigned int *ptr, unsigned int length, int depth)
void printFile (char *fname, int depth)
int main (int argc, char **argv)
 A main program to generate a FittingService executable.


Variables

char * prefix
bool swapSlash


Function Documentation

char * getName int    id
 

Definition at line 511 of file loadClist.cpp.

Referenced by loadPlist(), and ArchTestResult::SaveTestDataOnly().

char * getTaskName int    id
 

Definition at line 521 of file loadClist.cpp.

Referenced by loadPlist().

void loadClist const char *    fname,
int    depth
 

Definition at line 51 of file loadClist.cpp.

References loadPlist(), spaces(), and translateName().

Referenced by main().

void loadPlist const char *    fname,
int    depth
 

Definition at line 227 of file loadClist.cpp.

References SEND_DATA_IN::auxVal, RW_FIFO_IN::bank, BUILD_STREAM, CmdList::cmd, BUILD_STREAM_IN::cmdBuff, BUILD_STREAM_IN::cmdList, START_SLAVE_EXECUTING_IN::commOnOff, CmdList::data, BUILD_STREAM_IN::data, RW_FIFO_IN::dataBaseAdr, RW_REG_FIELD_IN::dataIn, SEND_DATA_IN::dataType, POLL_REG_FIELD_IN::desiredValue, ECHO, EVENT_TRAP_SETUP, BUILD_STREAM_IN::fibre, RW_FIFO_IN::fifoId, getName(), getTaskName(), HISTOGRAM_CTRL_TASK, SEND_SLAVE_LIST_IN::listLength, RW_SLAVE_MEMORY_IN::masterAddress, RW_MODULE_DATA_IN::moduleNum, N_CMD_LIST_CMDS, RW_FIFO_IN::numElements, RW_SLAVE_MEMORY_IN::numWords, POLL_REG_FIELD_IN::offset, RW_REG_FIELD_IN::offset, POLL_REG_FIELD, printDataChunk(), printFile(), RW_FIFO_IN::readNotWrite, RW_SLAVE_MEMORY_IN::readNotWrite, RW_MODULE_DATA_IN::readNotWrite, RW_REG_FIELD_IN::readNotWrite, POLL_REG_FIELD_IN::registerID, RW_REG_FIELD_IN::registerID, SEND_DATA_IN::repBufferFlag, BUILD_STREAM_IN::reset, RW_FIFO, RW_MODULE_DATA, RW_REG_FIELD, RW_SLAVE_MEMORY, SEND_DATA, SEND_SLAVE_LIST, SEND_STREAM, RW_SLAVE_MEMORY_IN::slaveAddress, RW_SLAVE_MEMORY_IN::slaveNumber, SEND_SLAVE_LIST_IN::slaveNumber, START_SLAVE_EXECUTING_IN::slaveNumber, SEND_SLAVE_LIST_IN::slavePrimList, SEND_SLAVE_LIST_IN::slaveRepData, START_SLAVE_EXECUTING_IN::slaveType, spaces(), START_SLAVE_EXECUTING, START_TASK, RW_MODULE_DATA_IN::structId, TEST, SEND_DATA_IN::timeout, POLL_REG_FIELD_IN::timeoutInUsec, START_SLAVE_EXECUTING_IN::timeoutInUsec, TRANS_SERIAL_DATA, translateName(), POLL_REG_FIELD_IN::width, and RW_REG_FIELD_IN::width.

Referenced by loadClist(), and main().

int main int    argc,
char **    argv
 

A main program to generate a FittingService executable.

Author:
Alan Barr,
Date:
20 Feb 2003.

Definition at line 32 of file loadClist.cpp.

References loadClist(), and loadPlist().

void printDataChunk unsigned int *    ptr,
unsigned int    length,
int    depth
 

Definition at line 531 of file loadClist.cpp.

References spaces().

Referenced by loadPlist().

void printFile char *    fname,
int    depth
 

Definition at line 540 of file loadClist.cpp.

References spaces().

Referenced by loadPlist().

char * spaces int    num
 

Definition at line 471 of file loadClist.cpp.

Referenced by loadClist(), loadPlist(), printDataChunk(), and printFile().

char * translateName const char *    oldFname
 

Definition at line 484 of file loadClist.cpp.

References prefix.

Referenced by loadClist(), and loadPlist().


Variable Documentation

char* prefix
 

Definition at line 15 of file loadClist.cpp.

Referenced by translateName().

bool swapSlash
 

Definition at line 20 of file loadClist.cpp.


Generated on Mon Dec 15 19:36:34 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3