#include "_types.h"
#include "avltree.h"
Go to the source code of this file.
Classes | |
struct | GEN::Packet |
class | GEN::Stream |
class Stream: General Stream More... | |
class | GEN::StreamPareto |
StreamPareto -- To create Self-Similar traffic. More... | |
class | GEN::StreamExpon |
class StreamExpon -- To create Poisson traffic More... | |
class | GEN::StreamCBR |
class StreamCBR -- To create Constant Bit Rate traffic More... | |
class | GEN::PacketGenerator |
PacketGenerator class to create packets according to a specified distribution. More... | |
class | GEN::PacketGenerator::StreamPool |
Namespaces | |
namespace | GEN |
Defines | |
#define | BurstTime AVL::AVLNode<bytestamp_t>::NodeKey |
Typedefs | |
typedef int64u | GEN::pause_size_t |
typedef int64u | GEN::burst_size_t |
typedef int64u | GEN::bytestamp_t |
typedef int16u | GEN::pckt_size_t |
typedef int16s | GEN::source_id_t |
typedef float | GEN::load_t |
typedef float | GEN::shape_t |
typedef DOUBLE | GEN::rnd_real_t |
typedef int32u | GEN::rnd_int_t |
typedef pckt_size_t(* | GEN::PF_PCKT_SIZE )(void) |
typedef Stream *(* | GEN::PF_STREAM_CTOR )(load_t, float, int) |
class PacketGenerator: Packet Generator | |
Functions | |
template<class T > | |
T | SetInRange (T x, T y, T z) |
Description: This file contains declarations for class Packet class Stream class StreamPareto class StreamExpon class StreamCBR class StreamVideo. | |
Variables | |
const shape_t | GEN::MIN_ALPHA = 1.001F |
const shape_t | GEN::MAX_ALPHA = 1.999F |
const load_t | GEN::MIN_LOAD = 1.0E-10F |
const load_t | GEN::MAX_LOAD = 0.99999F |
const rnd_real_t | GEN::SMALL_VAL = 1.0 / 0xFFFFFFFFUL |
#define BurstTime AVL::AVLNode<bytestamp_t>::NodeKey |
Definition at line 130 of file trf_gen_v3.h.
T SetInRange | ( | T | x, | |
T | y, | |||
T | z | |||
) | [inline] |
Description: This file contains declarations for class Packet class Stream class StreamPareto class StreamExpon class StreamCBR class StreamVideo.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Filename: trf_gen.h
class PacketGenerator class PacketGeneratorDist
Author: Glen Kramer (kramer@cs.ucdavis.edu) University of California, Davis
Copyright (c) 2000-2005, Glen Kramer. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Definition at line 61 of file trf_gen_v3.h.