Create a context object indicating the specified transmissionCause, recordIndex, and sequenceLength values.
Declared in <ball_context.h>
Context(
Transmission::Cause transmissionCause,
int recordIndex,
int sequenceLength,
bslma::Allocator* basicAllocator = 0);
Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless the resulting attribute values are compatible. Note that basicAllocator is currently ignored.
| Name | Description |
|---|---|
| transmissionCause | cause of transmission |
| recordIndex | index within the sequence |
| sequenceLength | number of records in the sequence |
| basicAllocator | memory allocator; null uses the default |