trick/trick_source/sim_services/Message/include/PlaybackFile.hh

36 lines
697 B
C++
Raw Normal View History

/*
PURPOSE:
(Playback messages)
2015-02-26 15:02:31 +00:00
*/
#ifndef PLAYBACKFILE_HH
#define PLAYBACKFILE_HH
2015-02-26 15:02:31 +00:00
#include <string>
#include <iostream>
#include <fstream>
#include "sim_services/Message/include/MessageFile.hh"
namespace Trick {
/**
* This PlaybackFile is a class that inherits from MessageFile.
* It defines a type of MessageSubscriber with its received message sending to a file.
*/
class PlaybackFile : public MessageFile {
public:
PlaybackFile() ;
/**
@brief Output message to the file.
*/
virtual void update( unsigned int level , std::string header , std::string message ) ;
} ;
}
#endif