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

48 lines
1.3 KiB
C++
Raw Normal View History

/*
PURPOSE:
(Trick runtime simulation executive parameter definition.)
REFERENCE:
(((Bailey, R.W, and Paddock, E.J.) (Trick Simulation Environment)
(NASA:JSC #37943)
2015-02-26 15:02:31 +00:00
(JSC / Engineering Directorate / Automation and Robotics Division)
(June 1994) (--)))
2015-02-26 15:02:31 +00:00
ASSUMPTIONS AND LIMITATIONS:
((Only 64 levels of nested input data file inclusion.))
PROGRAMMERS:
(((Robert W. Bailey) (LinCom) (4/92) (--) (Realtime))
2015-02-26 15:02:31 +00:00
((Robert W. Bailey) (LinCom) (6/1/91) (Trick-CR-00000) (Initial Release)))
*/
#ifndef MESSAGECOUT_HH
#define MESSAGECOUT_HH
2015-02-26 15:02:31 +00:00
#include <iostream>
#include "sim_services/Message/include/MessageSubscriber.hh"
namespace Trick {
/**
* This MessageCout is a class that inherits from MessageSubscriber.
* It defines a type of MessageSubscriber with its received message sending to the standard output stream.
*/
class MessageCout : public MessageSubscriber {
public:
/**
@brief The constructor.
*/
MessageCout() ;
/**
@brief Output header & message to standard output stream.
*/
virtual void update( unsigned int level , std::string header , std::string message ) ;
} ;
}
#endif