[#BloombergLP-ball-Context-2constructor-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Context.adoc[Context]::Context
:relfileprefix: ../../../
:mrdocs:

Create a context object indicating the specified `transmissionCause`, `recordIndex`, and `sequenceLength` values&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The behavior is undefined unless the resulting attribute values are compatible&period; Note that `basicAllocator` is currently ignored&period;

== Synopsis

Declared in `&lt;ball&lowbar;context&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Context(
    xref:BloombergLP/ball/Transmission/Cause.adoc[Transmission::Cause] transmissionCause,
    int recordIndex,
    int sequenceLength,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
