#include <CounterSubsystem.hpp>
Public Member Functions | |
CounterSubsystem (USBDevice &parent) | |
virtual | ~CounterSubsystem () |
virtual std::ostream & | print (std::ostream &out) |
int | getNumCounterBlocks () const |
int | getNumCounters () const |
Counter & | getCounter (int counter) |
UShortArray | readCounts (bool oldData) |
CounterSubsystem & | selectGate (int counter) |
double | startClock (int counterBlock, double clockHz) |
CounterSubsystem & | stopClock (int counterBlock) |
Protected Attributes | |
int | numCounterBlocks |
int | numCounters |
CounterList | counters |
AIOUSB::CounterSubsystem::CounterSubsystem | ( | USBDevice & | parent | ) |
AIOUSB::CounterSubsystem::~CounterSubsystem | ( | ) | [virtual] |
virtual std::ostream& AIOUSB::CounterSubsystem::print | ( | std::ostream & | out | ) | [virtual] |
Implements AIOUSB::DeviceSubsystem.
int AIOUSB::CounterSubsystem::getNumCounterBlocks | ( | ) | const [inline] |
int AIOUSB::CounterSubsystem::getNumCounters | ( | ) | const [inline] |
Counter & AIOUSB::CounterSubsystem::getCounter | ( | int | counter | ) |
UShortArray AIOUSB::CounterSubsystem::readCounts | ( | bool | oldData | ) |
CounterSubsystem & AIOUSB::CounterSubsystem::selectGate | ( | int | counter | ) |
double AIOUSB::CounterSubsystem::startClock | ( | int | counterBlock, | |
double | clockHz | |||
) |
CounterSubsystem& AIOUSB::CounterSubsystem::stopClock | ( | int | counterBlock | ) | [inline] |
int AIOUSB::CounterSubsystem::numCounterBlocks [protected] |
int AIOUSB::CounterSubsystem::numCounters [protected] |
CounterList AIOUSB::CounterSubsystem::counters [protected] |