CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
MessagePlayer.h File Reference

Record and replay of DataMessage streams to/from disk. More...

#include "DataMessage.h"
Include dependency graph for MessagePlayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmlabs::ReplayIndexEntry
 Fixed-size on-disk index record describing one recorded message. More...
class  cmlabs::MessagePlayer
 Records DataMessage streams to disk and replays them with original timing. More...

Namespaces

namespace  cmlabs

Detailed Description

Record and replay of DataMessage streams to/from disk.

MessagePlayer implements Psyclone's recording and playback facility: in write mode it appends messages (with the name of the trigger that produced them) to a rotating on-disk buffer with an index file; in read mode it replays a recording, reproducing the original inter-message timing so a system can be re-run offline against recorded data. Recordings can also be exported to CSV for analysis.

Definition in file MessagePlayer.h.