trick/trick_source/sim_services/Message/include/MessageLCout.hh
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

41 lines
926 B
C++

#ifndef MESSAGELCOUT_HH
#define MESSAGELCOUT_HH
#include <iostream>
#include <map>
#include <stdlib.h>
#include "sim_services/Message/include/MessageSubscriber.hh"
namespace Trick {
/**
* This MessageLCout is a class that inherits from MessageSubscriber.
* It defines a type of MessageSubscriber with its received message sending to the standard output stream.
*/
class MessageLCout : public MessageSubscriber {
public:
/**
@brief Constructor.
*/
MessageLCout() ;
/**
@brief Output header & message to standard output stream.
*/
virtual void update( unsigned int level , std::string header , std::string message ) ;
private:
/** Map characters in message to Leet equivalent.\n */
std::map<char,std::string> subs ;
unsigned int seed ;
} ;
}
#endif