INET Framework for OMNeT++/OMNEST
PacketDrillStruct Class Reference

#include <PacketDrillUtils.h>

Inheritance diagram for PacketDrillStruct:

Public Member Functions

 PacketDrillStruct ()
 
 PacketDrillStruct (int64 v1, int64 v2)
 
 PacketDrillStruct (int64 v1, int64 v2, int32 v3, int32 v4, cQueue *streams)
 
int64 getValue1 () const
 
void setValue1 (uint64 value)
 
int64 getValue2 () const
 
void setValue2 (uint64 value)
 
int32 getValue3 () const
 
int32 getValue4 () const
 
cQueue * getStreams ()
 
virtual PacketDrillStructdup () const
 

Private Attributes

int64 value1
 
int64 value2
 
int32 value3
 
int32 value4
 
cQueue * streamNumbers = nullptr
 

Constructor & Destructor Documentation

PacketDrillStruct::PacketDrillStruct ( )
357 {
358  value1 = 0;
359  value2 = 0;
360  value3 = 0;
361  value4 = 0;
362  streamNumbers = nullptr;
363 }
cQueue * streamNumbers
Definition: PacketDrillUtils.h:648
int32 value4
Definition: PacketDrillUtils.h:647
int64 value1
Definition: PacketDrillUtils.h:641
int32 value3
Definition: PacketDrillUtils.h:646
int64 value2
Definition: PacketDrillUtils.h:645
PacketDrillStruct::PacketDrillStruct ( int64  v1,
int64  v2 
)
366 {
367  value1 = v1;
368  value2 = v2;
369  value3 = -2;
370  value4 = -2;
371  streamNumbers = nullptr;
372 }
cQueue * streamNumbers
Definition: PacketDrillUtils.h:648
int32 value4
Definition: PacketDrillUtils.h:647
int64 value1
Definition: PacketDrillUtils.h:641
int32 value3
Definition: PacketDrillUtils.h:646
int64 value2
Definition: PacketDrillUtils.h:645
PacketDrillStruct::PacketDrillStruct ( int64  v1,
int64  v2,
int32  v3,
int32  v4,
cQueue *  streams 
)
375 {
376  value1 = v1;
377  value2 = v2;
378  value3 = v3;
379  value4 = v4;
380  if (streams != nullptr) {
381  streamNumbers = streams;
382  }
383 }
cQueue * streamNumbers
Definition: PacketDrillUtils.h:648
int32 value4
Definition: PacketDrillUtils.h:647
int64 value1
Definition: PacketDrillUtils.h:641
int32 value3
Definition: PacketDrillUtils.h:646
int64 value2
Definition: PacketDrillUtils.h:645

Member Function Documentation

virtual PacketDrillStruct* PacketDrillStruct::dup ( ) const
inlinevirtual
641 { return new PacketDrillStruct(*this); };
PacketDrillStruct()
Definition: PacketDrillUtils.cc:356
cQueue* PacketDrillStruct::getStreams ( )
inline

Referenced by PacketDrill::buildReconfigChunk().

640 { return streamNumbers; };
cQueue * streamNumbers
Definition: PacketDrillUtils.h:648
int64 PacketDrillStruct::getValue1 ( ) const
inline

Referenced by PacketDrill::buildReconfigChunk(), and PacketDrill::buildSackChunk().

634 { return value1; };
int64 value1
Definition: PacketDrillUtils.h:641
int64 PacketDrillStruct::getValue2 ( ) const
inline

Referenced by PacketDrill::buildErrorChunk(), PacketDrill::buildReconfigChunk(), and PacketDrill::buildSackChunk().

636 { return value2; };
int64 value2
Definition: PacketDrillUtils.h:645
int32 PacketDrillStruct::getValue3 ( ) const
inline

Referenced by PacketDrill::buildReconfigChunk().

638 { return value3; }
int32 value3
Definition: PacketDrillUtils.h:646
int32 PacketDrillStruct::getValue4 ( ) const
inline

Referenced by PacketDrill::buildReconfigChunk().

639 { return value4; }
int32 value4
Definition: PacketDrillUtils.h:647
void PacketDrillStruct::setValue1 ( uint64  value)
inline
635 { value1 = value; };
int64 value1
Definition: PacketDrillUtils.h:641
void PacketDrillStruct::setValue2 ( uint64  value)
inline
637 { value2 = value; };
int64 value2
Definition: PacketDrillUtils.h:645

Member Data Documentation

cQueue* PacketDrillStruct::streamNumbers = nullptr
private
int64 PacketDrillStruct::value1
private
int64 PacketDrillStruct::value2
private
int32 PacketDrillStruct::value3
private
int32 PacketDrillStruct::value4
private

The documentation for this class was generated from the following files: