Generic hardware access library
/home/cschwick/hal/generic/classtester/src/common/PCIDummyBusAdapterTester.cc File Reference
#include "PCIDevice.hh"
#include "PCIAddressTable.hh"
#include "PCIAddressTableASCIIReader.hh"
#include "PCIDummyBusAdapter.hh"
#include "CommandSequencer.hh"
#include "CommandSequenceASCIIReader.hh"
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <string.h>

Go to the source code of this file.

Defines

#define VENDORID   0x1234
#define DEVICEID   0x5678
#define INDEX   1
#define DEVICE_ADDRESSTABLE   "PCIAddressMap.dat"
#define SEQUENCESETTINGS   "Sequences.conf"

Functions

void loadSequencer (HAL::CommandSequencer &sequencer, HAL::AddressTableInterface &addressTable)
 A small routine to load command sequences from the current directory.
int main ()
 Here comes the main program.

Define Documentation

#define DEVICE_ADDRESSTABLE   "PCIAddressMap.dat"

Definition at line 21 of file PCIDummyBusAdapterTester.cc.

#define DEVICEID   0x5678

Definition at line 19 of file PCIDummyBusAdapterTester.cc.

#define INDEX   1

Definition at line 20 of file PCIDummyBusAdapterTester.cc.

#define SEQUENCESETTINGS   "Sequences.conf"

Definition at line 22 of file PCIDummyBusAdapterTester.cc.

#define VENDORID   0x1234

Definition at line 18 of file PCIDummyBusAdapterTester.cc.


Function Documentation

void loadSequencer ( HAL::CommandSequencer sequencer,
HAL::AddressTableInterface addressTable 
)

A small routine to load command sequences from the current directory.

Definition at line 28 of file PCIDummyBusAdapterTester.cc.

int main ( )

Here comes the main program.

Definition at line 66 of file PCIDummyBusAdapterTester.cc.