![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <ldk/SuspendSupport.hpp>


Public Member Functions | |
| virtual void | doSuspend (SuspendedInterface *_si) |
| virtual bool | isSuspending () const |
| virtual bool | onSuspend () const =0 |
| SuspendSupport (const SuspendSupport &other) | |
| SuspendSupport (wns::ldk::fun::FUN *_fun, const wns::pyconfig::View &_config) | |
| virtual void | trySuspend () const |
| virtual | ~SuspendSupport () |
Private Attributes | |
| wns::pyconfig::View | config |
| wns::ldk::fun::FUN * | fun |
| SuspendedInterface * | si |
| bool | suspended |
| bool | suspending |
| double | suspendStartTime |
| wns::probe::bus::ContextCollectorPtr | timeBufferEmpty |
| bool | useProbe |
Definition at line 44 of file SuspendSupport.hpp.
| SuspendSupport::SuspendSupport | ( | wns::ldk::fun::FUN * | _fun, | |
| const wns::pyconfig::View & | _config | |||
| ) |
Definition at line 39 of file SuspendSupport.cpp.
| SuspendSupport::SuspendSupport | ( | const SuspendSupport & | other | ) |
Definition at line 54 of file SuspendSupport.cpp.
| SuspendSupport::~SuspendSupport | ( | ) | [virtual] |
Definition at line 70 of file SuspendSupport.cpp.
| void SuspendSupport::doSuspend | ( | SuspendedInterface * | _si | ) | [virtual] |
| bool SuspendSupport::isSuspending | ( | ) | const [virtual] |
Definition at line 90 of file SuspendSupport.cpp.
| virtual bool wns::ldk::SuspendSupport::onSuspend | ( | ) | const [pure virtual] |
Implemented in wns::ldk::arq::CumulativeACK, wns::ldk::arq::GoBackN, wns::ldk::arq::None, wns::ldk::arq::SelectiveRepeat, wns::ldk::arq::StopAndWait, wns::ldk::crc::CRC, wns::ldk::crc::CRCFilter, wns::ldk::sar::SAR< COMMANDTYPE >, glue::arqfsm::selectiverepeat::FSMFU, glue::arqfsm::stopandwait::FSMFU, wns::ldk::sar::SAR< wns::ldk::sar::SoftCommand >, and wns::ldk::sar::SAR< wns::ldk::sar::SARCommand >.
| void SuspendSupport::trySuspend | ( | ) | const [virtual] |
Definition at line 97 of file SuspendSupport.cpp.
Reimplemented in wns::ldk::crc::CRCFilter, glue::arqfsm::selectiverepeat::FSMFU, and glue::arqfsm::stopandwait::FSMFU.
Definition at line 79 of file SuspendSupport.hpp.
wns::ldk::fun::FUN* wns::ldk::SuspendSupport::fun [private] |
Definition at line 78 of file SuspendSupport.hpp.
SuspendedInterface* wns::ldk::SuspendSupport::si [private] |
Definition at line 70 of file SuspendSupport.hpp.
bool wns::ldk::SuspendSupport::suspended [mutable, private] |
Definition at line 69 of file SuspendSupport.hpp.
bool wns::ldk::SuspendSupport::suspending [private] |
Definition at line 68 of file SuspendSupport.hpp.
Definition at line 72 of file SuspendSupport.hpp.
Definition at line 76 of file SuspendSupport.hpp.
bool wns::ldk::SuspendSupport::useProbe [private] |
1.5.5