LLC2_API
Classes | Defines | Enumerations | Functions
ll2.h File Reference

API definition for LOWLATENCY2. More...

#include <iostream>
#include <vector>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Classes

class  ACQ
 base class for cards and system. More...
class  ACQ_Card
 base class for physical cards. More...
class  ACQ196
class  AO32
class  LL_ControlSystem
 abstract factory class - implementation detail hidden More...

Defines

#define NO_VALUE   0
 null buffer arg (ignore).
#define AI_SIZE   sizeof(short)
#define AO_SIZE   sizeof(short)
#define DO_SIZE   sizeof(u32)
#define DI_SIZE   sizeof(u32)
#define STATUS_SIZE   sizeof(u32)
#define BITS_PER_DX_WORD   32
 DX packed into 32 bit words.

Enumerations

enum  IO {
  AI, AO, DI, DO,
  ST, IONUM
}
 id's the classes of IO. More...
enum  SLOTS {
  SLOT1 = 1, SLOT2, SLOT3, SLOT4,
  SLOT5, SLOT6, SLOT7, SLOT8
}
 id's the slot numbers. More...

Functions

static const char * IO (enum IO io)
template<class T >
T * znew (int nwords)
 new zero'd data - avoids valgrind errors.

Detailed Description

API definition for LOWLATENCY2.

Definition in file ll2.h.


Define Documentation

#define AI_SIZE   sizeof(short)

Definition at line 229 of file ll2.h.

Referenced by ACQ196::getAI().

#define AO_SIZE   sizeof(short)

Definition at line 230 of file ll2.h.

Referenced by ACQ196::putAO().

#define BITS_PER_DX_WORD   32

DX packed into 32 bit words.

Definition at line 235 of file ll2.h.

Referenced by LL_ControlSystemI::getOffset(), Inputs::Inputs(), main(), and Inputs::~Inputs().

#define DI_SIZE   sizeof(u32)

Definition at line 232 of file ll2.h.

#define DO_SIZE   sizeof(u32)

Definition at line 231 of file ll2.h.

#define NO_VALUE   0

null buffer arg (ignore).

Definition at line 228 of file ll2.h.

#define STATUS_SIZE   sizeof(u32)

Definition at line 233 of file ll2.h.


Enumeration Type Documentation

enum IO

id's the classes of IO.

Enumerator:
AI 
AO 
DI 
DO 
ST 
IONUM 

Definition at line 209 of file ll2.h.

enum SLOTS

id's the slot numbers.

1:1 correspondence

Enumerator:
SLOT1 
SLOT2 
SLOT3 
SLOT4 
SLOT5 
SLOT6 
SLOT7 
SLOT8 

Definition at line 215 of file ll2.h.


Function Documentation

static const char* IO ( enum IO  io) [static]
template<class T >
T* znew ( int  nwords)

new zero'd data - avoids valgrind errors.

Definition at line 222 of file ll2.h.