DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <Printer.hh>
Public Member Functions | |
EventManagerPrettyPrinter (const EventManager< EventInfo, EventId > &mgr) | |
virtual ostream & | print (ostream &os, const EventId &event) const |
Public Member Functions inherited from Diades::Automata::Experimental::Printer< EventId > | |
virtual ostream & | print (ostream &os, const EventId &object) const=0 |
Private Attributes | |
const EventManager< EventInfo, EventId > & | _mgr |
Additional Inherited Members | |
Public Types inherited from Diades::Automata::Experimental::Printer< EventId > | |
using | Object = EventId |
This printer prints the EventInfo of any Event associated with a given EventManager for that Event. It requires that EventInfo has the operator <<
Definition at line 81 of file Printer.hh.
|
inline |
Cosntructor
mgr | the EventManager that will be permanently associated with the Printer |
Definition at line 96 of file Printer.hh.
|
inlinevirtual |
Print the given Event in the given output stream using the << operator of EventInfo that is associated with event in the associated manager
os | output stream |
event | the Event(Object) to print out |
Definition at line 107 of file Printer.hh.
References Diades::Automata::Experimental::EventManager< _Event, _EventId, NullEvent, NullEventId, Hash >::getEvent().
Referenced by Diades::Automata::Experimental::EventSetManagerPrettyPrinter< EventInfo, EventId >::print().
|
private |
Definition at line 88 of file Printer.hh.