ns3::OmnetDataOutput Class Reference

#include <omnet-data-output.h>

Inheritance diagram for ns3::OmnetDataOutput:
Inheritance graph
[legend]
Collaboration diagram for ns3::OmnetDataOutput:
Collaboration graph
[legend]

List of all members.

Classes

class  OmnetOutputCallback

Public Member Functions

 OmnetDataOutput ()
virtual ~OmnetDataOutput ()
virtual void Output (DataCollector &dc)
void SetFilePrefix (const std::string prefix)
std::string GetFilePrefix () const

Protected Member Functions

virtual void DoDispose ()

Private Attributes

std::string m_filePrefix

Detailed Description

Definition at line 33 of file omnet-data-output.h.


Constructor & Destructor Documentation

OmnetDataOutput::OmnetDataOutput (  ) 

Definition at line 37 of file omnet-data-output.cc.

References NS_LOG_FUNCTION_NOARGS.

OmnetDataOutput::~OmnetDataOutput (  )  [virtual]

Definition at line 42 of file omnet-data-output.cc.

References NS_LOG_FUNCTION_NOARGS.


Member Function Documentation

void OmnetDataOutput::DoDispose ( void   )  [protected, virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

Reimplemented from ns3::DataOutputInterface.

Definition at line 47 of file omnet-data-output.cc.

References NS_LOG_FUNCTION_NOARGS.

std::string OmnetDataOutput::GetFilePrefix (  )  const

Definition at line 61 of file omnet-data-output.cc.

References m_filePrefix.

void OmnetDataOutput::Output ( DataCollector dc  )  [virtual]
void OmnetDataOutput::SetFilePrefix ( const std::string  prefix  ) 

Definition at line 56 of file omnet-data-output.cc.

References m_filePrefix.


Member Data Documentation

std::string ns3::OmnetDataOutput::m_filePrefix [private]

Definition at line 76 of file omnet-data-output.h.

Referenced by GetFilePrefix(), Output(), and SetFilePrefix().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:10:07 2009 for NS-3 by  doxygen 1.6.3