21 #ifndef SATELLITE_TYPEDEFS_H_
22 #define SATELLITE_TYPEDEFS_H_
26 #include <ns3/callback.h>
27 #include <ns3/mac48-address.h>
56 typedef Callback<double, SatEnums::ChannelType_t, uint32_t, SatEnums::CarrierBandwidthType_t>
65 const Address& destinationAddress);
73 const Address& sourceAddress);
102 Mac48Address nodeMacAddress,
105 std::string packetInfo);
SatLinkDir_t
Link direction used for packet tracing.
SatNodeType_t
Node type used for packet tracing.
SatPacketEvent_t
Packet event used for packet tracing.
SatLogLevel_t
Log level used for packet tracing.
SatTypedefs class is for general typedefs used in satellite module.
void(* ServiceTimeCallback)(Time serviceTime)
virtual ~SatTypedefs()=0
Destructor.
Callback< double, SatEnums::ChannelType_t, uint32_t, SatEnums::CarrierBandwidthType_t > CarrierBandwidthConverter_t
Callback for carrier bandwidths.
void(* PacketSenderAddressCallback)(Ptr< const Packet > packet, const Address &sourceAddress)
Common callback signature of a packet and a source address.
void(* PacketTraceCallback)(Time now, SatEnums::SatPacketEvent_t eventType, SatEnums::SatNodeType_t nodeType, uint32_t nodeId, Mac48Address nodeMacAddress, SatEnums::SatLogLevel_t logLevel, SatEnums::SatLinkDir_t linkDirection, std::string packetInfo)
Common callback signature for PacketTrace trace sources.
void(* DataSenderAddressCallback)(uint32_t data, const Address &sourceAddress)
void(* PacketDestinationAddressCallback)(Ptr< const Packet > packet, const Address &destinationAddress)
Common callback signature of a packet and a destination address.
void(* PacketDelayAddressCallback)(const Time &delay, const Address &sourceAddress)
Common callback signature for packet delay and address.
void(* CreationCallback)(std::string trace)
Common callback signature for scenario creation trace sources by helpers.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.