#include <lsmp.hh>

Public Member Functions | |
| LSMP_ACCESS () | |
| LSMP_ACCESS (const char *part) | |
| ~LSMP_ACCESS () | |
| void | Repair (int ID=-1) |
| void | Spew (int jBuf, std::ostream &Out, int length=0) |
| LSMP_ACCESS::LSMP_ACCESS | ( | ) |
LSMP_ACCESS() constructs a null accessor, not connected to any partition. brief Default constructor.
| LSMP_ACCESS::LSMP_ACCESS | ( | const char * | part | ) |
Initialize a accessor structure and attach it to an existing partition. If the named partition doesn't exist, no partition is attached. brief Attach to a partition.
| LSMP_ACCESS::~LSMP_ACCESS | ( | ) |
If a partition is attached, it is released (see LSMP::release). brief Accessor destructor.
| void LSMP_ACCESS::Repair | ( | int | ID = -1 |
) |
All consumers are tested for an existing process. If the process doesn't exist, the consumer is deleted. Buffers are also released if no consumers exist or if they are reserved by a non-existant producer. brief Repair a partition.
| void LSMP_ACCESS::Spew | ( | int | jBuf, | |
| std::ostream & | Out, | |||
| int | length = 0 | |||
| ) |
The data in a specified buffer are copied to the specified output stream. No consumer synchronization is performed. brief Binary copy one buffer to an output stream.
| jBuf | ID iof the buffer to be spewed. | |
| Out | stream to receive the data. | |
| length | Number of bytes to copy. |
1.5.4