#include <CCamac.h>
Static Public Methods | |
void | BranchInit (int nBranch) |
void | BranchRelease (int nBranch) |
long * | Base (int nBranch) |
Retrieves the base address of a branch.. Null if not mapped. | |
Static Private Attributes | |
long * | m_BranchBases [MAX_BRANCHCOUNT] |
Array of branch base pointers. | |
void * | m_Fds [MAX_BRANCHCOUNT] |
Array of device fds. |
|
Retrieves the base address of a branch.. Null if not mapped.
Definition at line 304 of file CCamac.h. References m_BranchBases. Referenced by CCamacModule::MakePointer(). |
|
Initialize access to a branch.
Definition at line 323 of file CCamac.cpp. References BranchBase, m_BranchBases, m_Fds, and nBranchSize. Referenced by CCamacModule::CCamacModule(), and CCamacModule::MakePointer(). |
|
Releases access to a map. If the branch has not been mapped, this is a no-op. If the branch has been mapped, munmap is called as well as the VME_KILL_MMAP ioctl on the device driver.
Definition at line 364 of file CCamac.cpp. References m_BranchBases, m_Fds, and nBranchSize. |
|
Initial value: { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
Definition at line 303 of file CCamac.cpp. Referenced by Base(), BranchInit(), and BranchRelease(). |
|
Initial value: { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
Definition at line 305 of file CCamac.cpp. Referenced by BranchInit(), and BranchRelease(). |