18 #ifndef __igstkMultipleOutput_h
19 #define __igstkMultipleOutput_h
65 ContainerType::iterator itr = m_Output.begin();
66 ContainerType::iterator end = m_Output.end();
78 typedef std::set< StreamType * > ContainerType;
80 ContainerType m_Output;
86 #endif //__igstk_MultipleOutput_h_
MultipleOutput()
Constructor.
void AddOutputStream(StreamType &output)
Register a additional output stream into the list of ostreams to write to.
void Flush()
Broadcast a flush operation to all the output streams.
Class MultipleOutput allows writing simultaneously to multiple streams.
MultipleOutput & operator<<(T tt)
Operator that will receive different input types and will forward them to the multiple outputs...
~MultipleOutput()
Destructor.