nBandwidthTaskMessage Class Reference

Collaboration diagram for nBandwidthTaskMessage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 nBandwidthTaskMessage (nType type, nMessage &message)
nMessageMessage () const

Protected Member Functions

virtual void DoExecute (nSendBuffer &buffer, nBandwidthControl &control)
virtual int DoEstimateSize () const

Private Attributes

tJUST_CONTROLLED_PTR< nMessagemessage_


Detailed Description

Definition at line 381 of file nPriorizing.cpp.


Constructor & Destructor Documentation

nBandwidthTaskMessage::nBandwidthTaskMessage ( nType  type,
nMessage message 
)

Definition at line 402 of file nPriorizing.cpp.

00403         :nBandwidthTask( type ), message_( &message )
00404 {
00405 }


Member Function Documentation

nMessage& nBandwidthTaskMessage::Message (  )  const [inline]

Definition at line 386 of file nPriorizing.cpp.

00386 { return *message_; }

void nBandwidthTaskMessage::DoExecute ( nSendBuffer buffer,
nBandwidthControl control 
) [protected, virtual]

Definition at line 408 of file nPriorizing.cpp.

References nSendBuffer::AddMessage(), and message_.

00409 {
00410     buffer.AddMessage( *message_, &control );
00411 }

Here is the call graph for this function:

int nBandwidthTaskMessage::DoEstimateSize (  )  const [protected, virtual]

Definition at line 414 of file nPriorizing.cpp.

References message_.

00415 {
00416     return message_->DataLen();
00417 }


Member Data Documentation

tJUST_CONTROLLED_PTR< nMessage > nBandwidthTaskMessage::message_ [private]

Definition at line 392 of file nPriorizing.cpp.

Referenced by DoEstimateSize(), and DoExecute().


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