#include <output-stream-wrapper.h>
Public Member Functions | |
OutputStreamWrapper (std::string filename, std::ios::openmode filemode) | |
OutputStreamWrapper (std::ostream *os) | |
~OutputStreamWrapper () | |
std::ostream * | GetStream (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
Private Attributes | |
bool | m_destroyable |
std::ostream * | m_ostream |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
Definition at line 70 of file output-stream-wrapper.h.
ns3::OutputStreamWrapper::OutputStreamWrapper | ( | std::string | filename, |
std::ios::openmode | filemode | ||
) |
Definition at line 29 of file output-stream-wrapper.cc.
References m_ostream, NS_ABORT_MSG_UNLESS, and ns3::FatalImpl::RegisterStream().
ns3::OutputStreamWrapper::OutputStreamWrapper | ( | std::ostream * | os | ) |
Definition at line 40 of file output-stream-wrapper.cc.
References m_ostream, NS_ABORT_MSG_UNLESS, and ns3::FatalImpl::RegisterStream().
ns3::OutputStreamWrapper::~OutputStreamWrapper | ( | ) |
Definition at line 47 of file output-stream-wrapper.cc.
References m_destroyable, m_ostream, and ns3::FatalImpl::UnregisterStream().
std::ostream * ns3::OutputStreamWrapper::GetStream | ( | void | ) |
Return a pointer to an ostream previously set in the wrapper.
Definition at line 55 of file output-stream-wrapper.cc.
References m_ostream.
Referenced by ns3::AsciiPhyReceiveSinkWithContext(), ns3::AsciiPhyReceiveSinkWithoutContext(), ns3::AsciiPhyTransmitSinkWithContext(), ns3::AsciiPhyTransmitSinkWithoutContext(), ns3::WimaxHelper::AsciiRxEvent(), ns3::WimaxHelper::AsciiTxEvent(), Ns3TcpLossTestCase::CwndTracer(), ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(), ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(), ns3::AsciiTraceHelper::DefaultDropSinkWithContext(), ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(), ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(), ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(), ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(), ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(), Ns3TcpLossTestCase::DoRun(), Ns3TcpStateTestCase::DoRun(), ns3::Ipv4L3ProtocolDropSinkWithContext(), ns3::Ipv4L3ProtocolDropSinkWithoutContext(), ns3::Ipv4L3ProtocolRxSinkWithContext(), ns3::Ipv4L3ProtocolRxSinkWithoutContext(), ns3::Ipv4L3ProtocolTxSinkWithContext(), ns3::Ipv4L3ProtocolTxSinkWithoutContext(), ns3::Ipv6L3ProtocolDropSinkWithContext(), ns3::Ipv6L3ProtocolDropSinkWithoutContext(), ns3::Ipv6L3ProtocolRxSinkWithContext(), ns3::Ipv6L3ProtocolRxSinkWithoutContext(), ns3::Ipv6L3ProtocolTxSinkWithContext(), ns3::Ipv6L3ProtocolTxSinkWithoutContext(), ns3::aodv::RoutingTableEntry::Print(), ns3::dsdv::RoutingTableEntry::Print(), ns3::aodv::RoutingTable::Print(), ns3::dsdv::RoutingTable::Print(), ns3::dsdv::RoutingProtocol::PrintRoutingTable(), ns3::aodv::RoutingProtocol::PrintRoutingTable(), ns3::Ipv4StaticRouting::PrintRoutingTable(), ns3::Ipv4ListRouting::PrintRoutingTable(), ns3::Ipv4GlobalRouting::PrintRoutingTable(), ns3::Ipv6ListRouting::PrintRoutingTable(), ns3::Ipv4NixVectorRouting::PrintRoutingTable(), ns3::olsr::RoutingProtocol::PrintRoutingTable(), ns3::Ipv6StaticRouting::PrintRoutingTable(), and ns3::WriteAveragePowerSpectralDensityReport().
|
private |
Definition at line 88 of file output-stream-wrapper.h.
Referenced by ~OutputStreamWrapper().
|
private |
Definition at line 87 of file output-stream-wrapper.h.
Referenced by GetStream(), OutputStreamWrapper(), and ~OutputStreamWrapper().