|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--multimedia.generation.GenericGeneration | +--multimedia.generation.MGInfGeneration
Field Summary |
Fields inherited from class multimedia.generation.GenericGeneration |
fileName |
Fields inherited from interface statistic.RandomGenerator |
random |
Fields inherited from interface multimedia.codec.AudioCodecExample |
G711, G723_1, G726, G728, G729 |
Fields inherited from interface multimedia.codec.VideoCodecExample |
H261, MJPEG, MPEG, MPEG4 |
Fields inherited from interface multimedia.VideoExample |
BeanHigh, BeanLow, BeanMedium, coeffDistbh, coeffDistbm, coeffDistjph, coeffDistjpm, coeffFuncbh, coeffFuncbl, coeffFuncbm, coeffFuncjph, coeffFuncjpl, coeffFuncjpm, dbh, dbm, djph, djpm, dPacketSize, dSlot, gdbh, gdbm, gdjph, gdjpm, gfbh, gfjpl, gftbh, gftbl, gftbm, gftjph, gftjpl, gftjpm, JurassicParkHigh, JurassicParkLow, JurassicParkMedium, mginfbh, mginfbl, mginfbm, mginfjph, mginfjpl, mginfjpm |
Fields inherited from interface utils.definitions.MyUnitDefinitions |
BYTES, GIGABYTES, KILOBYTES, MEGABYTES |
Constructor Summary | |
MGInfGeneration()
|
|
MGInfGeneration(MGInfModel model,
int tpsSimul,
CodecAV codec,
int srcNumber)
|
|
MGInfGeneration(MGInfModel model,
int tpsSimul,
java.lang.String fichierReq,
CodecAV codec,
int srcNumber,
short unit,
boolean graphic)
MGInfGeneration Methode standard ou on definit tout |
|
MGInfGeneration(VideoDefinition vd,
int srcNumber,
java.lang.String fileName,
short unit,
boolean graphic)
Definit afin de generer du trafic a partir d'un objet " video definition" comprenent modele, tpsSimul, codec... |
Method Summary | |
static int[] |
dataPerSlotDistributionComputation(MGInfModel model,
int N)
To compute the data amount per slot with a poisson process |
static int[] |
dataPerSlotDistributionTransformation(MGInfModel model,
int N)
Method dataPerSlotDistributionTransformation |
CodecAV |
getCodec()
Method getCodec : return the codec |
java.lang.String |
getDocumentName()
Method getName : return the name/type of the transmit document |
double |
getSlotDuration()
Method getSlotDuration : to compute slot duration |
static void |
main(java.lang.String[] args)
Methode: Main pour tester la classe |
void |
setCodecAV(CodecAV codec)
|
void |
setMGInfModel(MGInfModel mginfModel)
|
void |
setMovieName(java.lang.String movieName)
|
int |
slotsNumberComputation()
To compute the number of slots which defines the time evolution |
Methods inherited from class multimedia.generation.GenericGeneration |
changeScenarioFileExtension, getDuration, getGeneratedPacketNumber, getGraphicMode, getResultFileName, getResultFilePath, getResultFileSize, getSourceNumber, getUnit, getUnit, scenarioGeneration, setDuration, setGraphicMode, setResultFileName, setSourceNumber, setUnit, statisticsGeneration |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MGInfGeneration() throws java.io.IOException
public MGInfGeneration(MGInfModel model, int tpsSimul, CodecAV codec, int srcNumber) throws java.io.IOException
tpsSimul
- test durationcodec
- it's a codec
java.io.IOException
public MGInfGeneration(MGInfModel model, int tpsSimul, java.lang.String fichierReq, CodecAV codec, int srcNumber, short unit, boolean graphic) throws java.io.IOException
tpsSimul
- test durationfichierReq
- scenario file namecodec
- to specify a codec (video codec in general)unit
- you could choose between: BYTES, KILOBYTES, MEGABYTES, GIGABYTESgraphic
- To choose a graphical mode or not
java.io.IOException
public MGInfGeneration(VideoDefinition vd, int srcNumber, java.lang.String fileName, short unit, boolean graphic) throws java.io.IOException
vd
- srcNumber
- unit
- you could choose between: you could choose betwen: BYTES, KILOBYTES, MEGABYTES, GIGABYTESgraphic
- To choose a graphical mode or not
java.io.IOException
Method Detail |
public int slotsNumberComputation()
public static int[] dataPerSlotDistributionComputation(MGInfModel model, int N)
model
- N
- => slot number
public static int[] dataPerSlotDistributionTransformation(MGInfModel model, int N)
model
- N
-
public double getSlotDuration()
public void setMGInfModel(MGInfModel mginfModel)
public void setCodecAV(CodecAV codec)
public void setMovieName(java.lang.String movieName)
public java.lang.String getDocumentName()
public CodecAV getCodec()
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |