ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MediaApp Class Reference

#include <media-app.h>

Inheritance diagram for MediaApp:

Application Process TclObject QA List of all members.

Public Member Functions

 MediaApp (const char *page)
virtual AppDataget_data (int &size, AppData *req_data=0)
virtual void process_data (int size, AppData *data)
void set_page (const char *pg)
void log (const char *fmt,...)
int command (int argc, const char *const *argv)

Protected Member Functions

virtual void start ()
virtual void stop ()
RapAgentrap ()

Protected Attributes

int seg_size_
char page_ [HTTP_MAXURLLEN]
MediaSegment data_ [MAX_LAYER]
Tcl_Channel log_
int num_layer_

Private Attributes

int last_layer_

Constructor & Destructor Documentation

MediaApp::MediaApp const char *    page

Member Function Documentation

int MediaApp::command int    argc,
const char *const *    argv

Reimplemented from Application.

Reimplemented in QA.

AppData * MediaApp::get_data int &    size,
AppData   req_data = 0

Reimplemented from Process.

Reimplemented in QA.

void MediaApp::log const char *    fmt,

virtual void MediaApp::process_data int    size,
AppData   data
[inline, virtual]

Reimplemented from Process.

RapAgent* MediaApp::rap   [inline, protected]

Reimplemented in QA.

void MediaApp::set_page const char *    pg [inline]

void MediaApp::start   [protected, virtual]

Reimplemented from Application.

void MediaApp::stop   [protected, virtual]

Reimplemented from Application.

Reimplemented in QA.

Member Data Documentation

MediaSegment MediaApp::data_[MAX_LAYER] [protected]

int MediaApp::last_layer_ [private]

Tcl_Channel MediaApp::log_ [protected]

int MediaApp::num_layer_ [protected]

char MediaApp::page_[HTTP_MAXURLLEN] [protected]

int MediaApp::seg_size_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.