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

RTSPServerLayer_n.cc File Reference

#include <math.h>
#include "omnetpp.h"

Defines

#define check_error()   {(void)0;}
#define check_memory()   {if (memoryIsLow()) {throw new cException(eNOMEM); }}
#define check_module_count(num, mod, parentmod)
#define check_gate_count(num, mod, gate, parentmod)
#define check_loop_bounds(lower, upper, parentmod)
#define check_module_index(index, modvar, modname, parentmod)
#define check_channel_params(delay, err, channel)
#define check_modtype(modtype, modname)
#define check_function(funcptr, funcname)
#define check_function_retnull(funcptr, funcname)
#define check_gate(gateindex, modname, gatename)   {if ((int)gateindex==-1) {throw new cException("Gate %s.%s not found",modname,gatename);}}
#define check_anc_param(ptr, parname, compoundmod)
#define check_param(ptr, parname)
#define NEDC_VERSION   0x0203

Functions

 ModuleInterface (RTSPServerLayer) Machine(default) Parameter(rtspTransportProtocol
ParType_String Parameter (portNumberRTP, ParType_Numeric) Parameter(debug
ParType_String ParType_Bool Parameter (remote_addr, ParType_String) Parameter(remote_port
ParType_String ParType_Bool
ParType_Numeric 
Gate (fromServerModule, GateDir_Input) Gate(fromSocketLayer
ParType_String ParType_Bool
ParType_Numeric GateDir_Input
GateDir_Output 
Gate (toSocketLayer, GateDir_Output) Gate(toRTP

Define Documentation

#define check_anc_param ptr,
parname,
compoundmod   
 

Value:

{if ((ptr)==NULL) {throw new cException("Unknown ancestor parameter named %s in compound module %s", \
                                parname,compoundmod);}}

#define check_channel_params delay,
err,
channel   
 

Value:

{if ((double)delay<0.0) \
        {throw new cException("Negative delay value %lf in channel %s",(double)delay,channel);} \
     if ((double)err<0.0 || (double)err>1.0) \
        {throw new cException("Incorrect error value %lf in channel %s",(double)err,channel);}}

 
#define check_error      {(void)0;}
 

#define check_function funcptr,
funcname   
 

Value:

{if ((funcptr)==NULL) {throw new cException("Function %s not found", \
                                     funcname);}}

#define check_function_retnull funcptr,
funcname   
 

Value:

{if ((funcptr)==NULL) {throw new cException("Function %s not found", \
                                     funcname);return NULL;}}

#define check_gate gateindex,
modname,
gatename       {if ((int)gateindex==-1) {throw new cException("Gate %s.%s not found",modname,gatename);}}
 

#define check_gate_count num,
mod,
gate,
parentmod   
 

Value:

{if ((int)num<0) {throw new cException("Negative gate vector size %s.%s[%d] in compound module %s", \
                          mod,gate,(int)num,parentmod);}}

#define check_loop_bounds lower,
upper,
parentmod   
 

Value:

{if ((int)lower<0) \
        {throw new cException("Bad loop bounds (%d..%d) in compound module %s", \
                 (int)lower,(int)upper,parentmod);}}

 
#define check_memory      {if (memoryIsLow()) {throw new cException(eNOMEM); }}
 

#define check_modtype modtype,
modname   
 

Value:

{if ((modtype)==NULL) {throw new cException("Simple module type definition %s not found", \
                                     modname);}}

#define check_module_count num,
mod,
parentmod   
 

Value:

{if ((int)num<=0) {throw new cException("Negative or zero module vector size %s[%d] in compound module %s", \
                          mod,(int)num,parentmod);}}

#define check_module_index index,
modvar,
modname,
parentmod   
 

Value:

{if (index<0 || index>=modvar[0]->size()) {throw new cException("Bad submodule index %s[%d] in compound module %s", \
          modname,(int)index,parentmod);}}

#define check_param ptr,
parname   
 

Value:

{if ((ptr)==NULL) {throw new cException("Unknown parameter named %s", \
                                parname);}}

#define NEDC_VERSION   0x0203
 


Function Documentation

ParType_String ParType_Bool ParType_Numeric GateDir_Input GateDir_Output Gate toSocketLayer   ,
GateDir_Output   
 

ParType_String ParType_Bool ParType_Numeric Gate fromServerModule   ,
GateDir_Input   
 

ModuleInterface RTSPServerLayer   
 

ParType_String ParType_Bool Parameter remote_addr   ,
ParType_String   
 

ParType_String Parameter portNumberRTP   ,
ParType_Numeric   
 


Generated on Thu Aug 7 16:40:42 2003 for RTSP model for OMNeT++ by doxygen1.2.18