ns-3
|
#include <wifi-phy-state-helper.h>
Public Member Functions | |
void | SetReceiveOkCallback (WifiPhy::RxOkCallback callback) |
void | SetReceiveErrorCallback (WifiPhy::RxErrorCallback callback) |
void | RegisterListener (WifiPhyListener *listener) |
enum WifiPhy::State | GetState (void) |
bool | IsStateCcaBusy (void) |
bool | IsStateIdle (void) |
bool | IsStateBusy (void) |
bool | IsStateRx (void) |
bool | IsStateTx (void) |
bool | IsStateSwitching (void) |
Time | GetStateDuration (void) |
Time | GetDelayUntilIdle (void) |
Time | GetLastRxStartTime (void) const |
void | SwitchToTx (Time txDuration, Ptr< const Packet > packet, WifiMode txMode, WifiPreamble preamble, uint8_t txPower) |
void | SwitchToRx (Time rxDuration) |
void | SwitchToChannelSwitching (Time switchingDuration) |
void | SwitchFromRxEndOk (Ptr< Packet > packet, double snr, WifiMode mode, enum WifiPreamble preamble) |
void | SwitchFromRxEndError (Ptr< const Packet > packet, double snr) |
void | SwitchMaybeToCcaBusy (Time duration) |
![]() | |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Dispose (void) |
void | AggregateObject (Ptr< Object > other) |
AggregateIterator | GetAggregateIterator (void) const |
void | Start (void) |
![]() | |
SimpleRefCount (const SimpleRefCount &o) | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
![]() | |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::WifiPhyStateHelper. |
Public Attributes | |
TracedCallback< Time, Time, enum WifiPhy::State > | m_stateLogger |
Additional Inherited Members | |
![]() | |
virtual void | NotifyNewAggregate (void) |
virtual void | DoStart (void) |
virtual void | DoDispose (void) |
Object (const Object &o) |
This objects implements the PHY state machine of the Wifi device.
|
static |
This method returns the TypeId associated to ns3::WifiPhyStateHelper.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
TraceSources defined for this type:
Reimplemented from ns3::Object.
References ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().