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


Public Types | |
| enum | Activation { Start, StartCollection, FinishCollection, Pause } |
Public Member Functions | |
| void | configure () |
| Configures the TimingControl. | |
| void | finishedPhase (wns::ldk::fcf::CompoundCollectorInterface *collector) |
| Inform the TimingControl about the end of the phase that is controlled by the collector. | |
| wns::ldk::fcf::FrameBuilder * | getFrameBuilder () const |
| Return the role for the questioned Phase. | |
| int | getOffset () |
| void | getRole () |
| void | onFUNCreated () |
| void | onTimeout () |
| Your callback. Implement this. | |
| void | pause () |
| Pause the timingcontrol's operation. | |
| void | periodically () |
| Your callback. Implement this! | |
| void | start () |
| Starts the timingcontrol's operation. | |
| void | stop () |
| Stops the timingcontrol's operation. | |
| TimingControl (wns::ldk::fcf::FrameBuilder *fb, const wns::pyconfig::View &config) | |
Private Types | |
| typedef std::list < ActivationEntry > | Activations |
Private Member Functions | |
| void | processOneActivation () |
| void | startProcessingActivations () |
Private Attributes | |
| Activations | activations_ |
| Chronologically ordered list of activations. | |
| Activations::const_iterator | activeCC_ |
| Indicates the active CompoundCollector. | |
| wns::pyconfig::View | config_ |
| wns::ldk::fcf::FrameBuilder * | frameBuilder_ |
| wns::simulator::Time | frameStartTime_ |
| wns::simulator::Time | frameStartupDelay_ |
| bool | running_ |
Friends | |
| class | TriggerActivationStart |
Classes | |
| struct | ActivationEntry |
Definition at line 59 of file TimingControl.hpp.
typedef std::list<ActivationEntry> wimac::frame::TimingControl::Activations [private] |
Definition at line 102 of file TimingControl.hpp.
Definition at line 66 of file TimingControl.hpp.
| TimingControl::TimingControl | ( | wns::ldk::fcf::FrameBuilder * | fb, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 70 of file TimingControl.cpp.
| void TimingControl::configure | ( | ) | [virtual] |
| void TimingControl::finishedPhase | ( | wns::ldk::fcf::CompoundCollectorInterface * | collector | ) | [virtual] |
| wns::ldk::fcf::FrameBuilder* wimac::frame::TimingControl::getFrameBuilder | ( | ) | const [inline, virtual] |
| int TimingControl::getOffset | ( | ) |
Definition at line 334 of file TimingControl.cpp.
| void wimac::frame::TimingControl::getRole | ( | ) |
| void TimingControl::onFUNCreated | ( | ) |
Definition at line 121 of file TimingControl.cpp.
| void TimingControl::onTimeout | ( | ) | [virtual] |
The deriver is forced to implement this method. It gets called, whenever the timer fires.
Implements wns::events::CanTimeout.
Definition at line 261 of file TimingControl.cpp.
| void TimingControl::pause | ( | ) | [virtual] |
| void TimingControl::periodically | ( | ) | [virtual] |
The deriver is forced to implement this method. It gets called periodically, whenever the timer fires.
Implements wns::events::PeriodicTimeout.
Definition at line 227 of file TimingControl.cpp.
| void TimingControl::processOneActivation | ( | ) | [private] |
Definition at line 283 of file TimingControl.cpp.
| void TimingControl::start | ( | ) | [virtual] |
| void TimingControl::startProcessingActivations | ( | ) | [private] |
Definition at line 245 of file TimingControl.cpp.
| void TimingControl::stop | ( | ) | [virtual] |
friend class TriggerActivationStart [friend] |
Definition at line 133 of file TimingControl.hpp.
For the modes sending and receiving a CompoundCollector has three Activations: startCollection, finishCollection, start For the mode pause only one activation is valid: pause
Definition at line 115 of file TimingControl.hpp.
Activations::const_iterator wimac::frame::TimingControl::activeCC_ [private] |
Definition at line 120 of file TimingControl.hpp.
Definition at line 128 of file TimingControl.hpp.
Definition at line 125 of file TimingControl.hpp.
Definition at line 131 of file TimingControl.hpp.
Definition at line 130 of file TimingControl.hpp.
bool wimac::frame::TimingControl::running_ [private] |
Definition at line 127 of file TimingControl.hpp.
1.5.5