Lumiera  0.pre.03
»edit your freedom«
TestFrameTable< CHA, FRA > Struct Template Reference

Description

template<uint CHA, uint FRA>
struct steam::engine::test::anonymous_namespace{testframe.cpp}::TestFrameTable< CHA, FRA >

table to hold test data frames. These frames are built on demand, but retained thereafter. Some tests might rely on the actual memory locations, using the test frames to simulate a real input frame data stream.

Parameters
CHAthe maximum number of channels to expect
FRAthe maximum number of frames to expect per channel
Warning
choose the maximum number parameters wisely. We're allocating memory to hold a table of test frames e.g. sizeof(TestFrame) * 20channels * 100frames ≈ 2 MiB The table uses vectors, and thus will grow on demand, but this might cause existing frames to be relocated in memory; some tests might rely on fixed memory locations. Just be cautious!

Definition at line 95 of file testframe.cpp.

Public Types

typedef vector< vector< TestFrame > > VECT
 

Public Member Functions

TestFramegetFrame (uint seqNr, uint chanNr=0)
 
+ Inheritance diagram for TestFrameTable< CHA, FRA >:
+ Collaboration diagram for TestFrameTable< CHA, FRA >:

The documentation for this struct was generated from the following file: