DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <Printer.hh>
Public Member Functions | |
EventSetManagerPrettyPrinter (const EventSetManager< EventInfo, EventId > &mgrSet, const EventManager< EventInfo, EventId > &mgrEvent) | |
virtual ostream & | print (ostream &os, const typename EventSetManager< EventInfo, EventId >::EventSet &es) const |
![]() | |
virtual ostream & | print (ostream &os, const EventSetManager< EventInfo, EventId >::EventSet &object) const=0 |
Private Attributes | |
EventManagerPrettyPrinter< EventInfo, EventId > | _eventPrinter |
const EventSetManager< EventInfo, EventId > & | _mgr |
Additional Inherited Members | |
![]() | |
using | Object = EventSetManager< EventInfo, EventId >::EventSet |
This printer prints an EventSet by printing its corresponding EventInfo. Correspondances between EventSet and a set of EventInfo is performed by the permanent association with an EventSetManager (from a EventSet, we then can get a set of Event ids) and an EventManager (from an Event id we get a EventInfo). EventInfo is printed out with help of an EventManagerPrettyPrinter that reauires that EventInfo has operator <<
Definition at line 172 of file Printer.hh.
|
inline |
Constructor
mgrSet | EventSetManager permanently associated with the Printer |
mgrEvent | EventManager permanently associated with the Printer |
Definition at line 192 of file Printer.hh.
|
inlinevirtual |
Print the given EventSet in the given output stream using the << operator of EventInfo's that is associated with it in the associated managers
os | output stream |
es | EventSet(Object) to print out |
Definition at line 206 of file Printer.hh.
References Diades::Automata::Experimental::EventSetManager< EventLabel, EventId >::event(), and Diades::Automata::Experimental::EventManagerPrettyPrinter< EventInfo, EventId >::print().
Referenced by Diades::Automata::Experimental::LocalCandidatePrettyPrinter< LocalStateInfo, LocalStateInfoId, EventInfo, EventId >::print().
|
private |
Definition at line 179 of file Printer.hh.
|
private |
Definition at line 184 of file Printer.hh.