#include <event_recorder.h>
Public Member Functions | |
void | record (Event *) |
Record a new event. | |
void | clear () |
Clear all recorded events. | |
void | play (Publisher *) |
Play in one shot all recorded events. The order of the emition is the one used to record them. |
EventRecorder recorder ;
recorder.igs_record(Event1) ;
recorder.igs_record(MsgEvent("Hello world")) ;
recorder.igs_record(StopEvent) ;
Publisher p ;
recorder.play(&p) ;
Author :
Copyright (C) 2004, Igeoss - All Rights Reserved.