2015-03-23 21:03:14 +00:00
|
|
|
/*
|
|
|
|
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)
|
2015-03-23 21:03:14 +00:00
|
|
|
(June 1994) (--)))
|
2015-02-26 15:02:31 +00:00
|
|
|
ASSUMPTIONS AND LIMITATIONS:
|
2015-03-23 21:03:14 +00:00
|
|
|
((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)))
|
|
|
|
*/
|
|
|
|
|
2015-03-23 21:03:14 +00:00
|
|
|
#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
|
|
|
|
|