nBandwitdhDistributor Class Reference

Inheritance diagram for nBandwitdhDistributor:

Inheritance graph
[legend]
Collaboration diagram for nBandwitdhDistributor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

nSendBufferSendBuffer ()
const nSendBufferSendBuffer () const
nBandwidthControlBandwidthControl ()
const nBandwidthControlBandwidthControl () const

Private Member Functions

virtual bool DoUseBandwidth (REAL dt)
virtual REAL TimeScale ()
virtual REAL PacketOverhead ()

Private Attributes

nSendBuffer buffer_
nBandwidthControl control_


Detailed Description

Definition at line 349 of file nPriorizing.cpp.


Member Function Documentation

nSendBuffer& nBandwitdhDistributor::SendBuffer (  )  [inline]

Definition at line 352 of file nPriorizing.cpp.

00352 { return buffer_; }

const nSendBuffer& nBandwitdhDistributor::SendBuffer (  )  const [inline]

Definition at line 353 of file nPriorizing.cpp.

00353 { return buffer_; }

nBandwidthControl& nBandwitdhDistributor::BandwidthControl (  )  [inline]

Definition at line 354 of file nPriorizing.cpp.

00354 { return control_; }

const nBandwidthControl& nBandwitdhDistributor::BandwidthControl (  )  const [inline]

Definition at line 355 of file nPriorizing.cpp.

00355 { return control_; }

bool nBandwitdhDistributor::DoUseBandwidth ( REAL  dt  )  [private, virtual]

Implements nBandwidthArbitrator.

Definition at line 373 of file nPriorizing.cpp.

References nBandwidthArbitrator::Fill().

00374 {
00375     return this->Fill( this->buffer_, this->control_ );
00376 }

Here is the call graph for this function:

virtual REAL nBandwitdhDistributor::TimeScale (  )  [inline, private, virtual]

Reimplemented from nBandwidthArbitrator.

Definition at line 360 of file nPriorizing.cpp.

00360 { return 0.1f; }                                                // higher values let really urgent messages be sent even if the bandwidth control objectd

virtual REAL nBandwitdhDistributor::PacketOverhead (  )  [inline, private, virtual]

Reimplemented from nBandwidthArbitrator.

Definition at line 361 of file nPriorizing.cpp.

00361 { return 60.0f; }                                       // overhead in bytes per sent packet. Determines average package size


Member Data Documentation

nSendBuffer nBandwitdhDistributor::buffer_ [private]

Definition at line 363 of file nPriorizing.cpp.

nBandwidthControl nBandwitdhDistributor::control_ [private]

Definition at line 364 of file nPriorizing.cpp.


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:47:03 2008 for Armagetron Advanced by  doxygen 1.5.4