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


Public Member Functions | |
| void | attach (Observer *observer) |
| void | detach (Observer *observer) |
| void | disable () |
| void | enable () |
| Pilot (wns::ldk::fun::FUN *fun, wns::pyconfig::View &config) | |
| void | sendBeacon () |
| virtual | ~Pilot () |
Private Types | |
| typedef std::list< Observer * > | ObserverList |
Private Member Functions | |
| Observer::Information | createObserverInformation (const wns::ldk::CompoundPtr &compound) |
| virtual bool | doIsAccepting (const wns::ldk::CompoundPtr &compound) const |
| virtual void | doOnData (const wns::ldk::CompoundPtr &compound) |
| virtual void | doSendData (const wns::ldk::CompoundPtr &compound) |
| virtual void | doWakeup () |
| void | notifyObservers (const Observer::Information &info) |
| virtual void | periodically () |
| Your callback. Implement this! | |
Private Attributes | |
| bool | delayedSend |
| bool | enabled |
| wns::logger::Logger | logger |
| ObserverList | observers |
| double | timeout |
Classes | |
| class | Observer |
Definition at line 30 of file Pilot.hpp.
typedef std::list<Observer*> glue::Pilot::ObserverList [private] |
| Pilot::Pilot | ( | wns::ldk::fun::FUN * | fun, | |
| wns::pyconfig::View & | config | |||
| ) |
| Pilot::Observer::Information Pilot::createObserverInformation | ( | const wns::ldk::CompoundPtr & | compound | ) | [private] |
| bool Pilot::doIsAccepting | ( | const wns::ldk::CompoundPtr & | compound | ) | const [private, virtual] |
| void Pilot::doOnData | ( | const wns::ldk::CompoundPtr & | compound | ) | [private, virtual] |
| void Pilot::doSendData | ( | const wns::ldk::CompoundPtr & | compound | ) | [private, virtual] |
| void Pilot::notifyObservers | ( | const Observer::Information & | info | ) | [private] |
| void Pilot::periodically | ( | ) | [private, virtual] |
The deriver is forced to implement this method. It gets called periodically, whenever the timer fires.
Implements wns::events::PeriodicTimeout.
bool glue::Pilot::delayedSend [private] |
bool glue::Pilot::enabled [private] |
wns::logger::Logger glue::Pilot::logger [private] |
ObserverList glue::Pilot::observers [private] |
double glue::Pilot::timeout [private] |
1.5.5