28 #ifndef STEAM_ENGINE_TESTFRAME_H 29 #define STEAM_ENGINE_TESTFRAME_H 63 CREATED, EMITTED, DISCARDED
66 static const size_t BUFFSIZ = 1024;
68 uint64_t distinction_;
84 static bool isAlive (
void* memLocation);
88 static bool isDead (
void* memLocation);
94 bool operator== (
void* memLocation)
const;
96 friend bool operator== (
TestFrame const& f1,
TestFrame const& f2) {
return f1.contentEquals(f2); }
97 friend bool operator!= (
TestFrame const& f1,
TestFrame const& f2) {
return !f1.contentEquals(f2); }
100 bool contentEquals (
TestFrame const& o)
const;
101 bool verifyData()
const;
115 TestFrame& testData (uint chanNr, uint seqNr);
static bool isAlive(void *memLocation)
Helper to verify that a given memory location holds an active TestFrame instance (created, not yet destroyed)
Mock data frame for simulated rendering.
TestFrame & testData(uint seqNr)
Helper to access a specific frame of test data at a fixed memory location.
Steam-Layer implementation namespace root.
void resetTestFrames()
discards all the TestFrame instances and initialises an empty table of test frames ...
static bool isDead(void *memLocation)
Helper to verify a given memory location holds an already destroyed TestFrame instance.