A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SampleEmitter Class Reference
+ Inheritance diagram for SampleEmitter:
+ Collaboration diagram for SampleEmitter:

Public Member Functions

 SampleEmitter ()
virtual ~SampleEmitter ()
double GetTime ()
double GetValue ()
void Reschedule ()
void Start ()
- Public Member Functions inherited from ns3::Object
 Object ()
virtual ~Object ()
void AggregateObject (Ptr< Object > other)
void Dispose (void)
AggregateIterator GetAggregateIterator (void) const
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Initialize (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)

Private Member Functions

void Report ()

Private Attributes

double aux
double m_time
TracedValue< double > m_trace
ExponentialVariable m_var

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void DoDispose (void)
virtual void DoInitialize (void)
virtual void NotifyNewAggregate (void)

Detailed Description

Definition at line 10 of file double-probe-test-suite.cc.

Constructor & Destructor Documentation

SampleEmitter::SampleEmitter ( )
inline

Definition at line 14 of file double-probe-test-suite.cc.

virtual SampleEmitter::~SampleEmitter ( )
inlinevirtual

Definition at line 17 of file double-probe-test-suite.cc.

Member Function Documentation

double SampleEmitter::GetTime ( )
inline

Definition at line 30 of file double-probe-test-suite.cc.

TypeId SampleEmitter::GetTypeId ( void  )
static

Get the type ID.

Reimplemented from ns3::Object.

Definition at line 54 of file double-probe-test-suite.cc.

References m_trace, ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().

+ Here is the call graph for this function:

double SampleEmitter::GetValue ( void  )
inline

Definition at line 34 of file double-probe-test-suite.cc.

void SampleEmitter::Report ( )
inlineprivate

Definition at line 39 of file double-probe-test-suite.cc.

Referenced by Reschedule().

+ Here is the caller graph for this function:

void SampleEmitter::Reschedule ( )
inline

Definition at line 24 of file double-probe-test-suite.cc.

References ns3::Time::GetSeconds(), ns3::Now(), Report(), and ns3::Simulator::Schedule().

+ Here is the call graph for this function:

void SampleEmitter::Start ( void  )
inline

Definition at line 20 of file double-probe-test-suite.cc.

Referenced by ProbeTestCase1::DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

double SampleEmitter::aux
private

Definition at line 48 of file double-probe-test-suite.cc.

double SampleEmitter::m_time
private

Definition at line 46 of file double-probe-test-suite.cc.

TracedValue<double> SampleEmitter::m_trace
private

Definition at line 47 of file double-probe-test-suite.cc.

Referenced by GetTypeId().

ExponentialVariable SampleEmitter::m_var
private

Definition at line 45 of file double-probe-test-suite.cc.


The documentation for this class was generated from the following file: