![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <ObserverInterface.hpp>
Inherits NOTIFICATIONINTERFACE.
Inherited by wns::Observer< NOTIFICATIONINTERFACE > [virtual].

Public Types | |
| typedef NOTIFICATIONINTERFACE | NotificationType |
| The NotificationInterface used by ObserverInterface and SubjectInterface. | |
| typedef SubjectInterface < ObserverInterface > | SubjectType |
| The SubjectInterface corresponding to this ObserverInterface. | |
Public Member Functions | |
| virtual | ~ObserverInterface () |
Private Member Functions | |
| virtual void | addSubject (SubjectType *subject)=0 |
| Add a subject we are attached to. | |
| virtual void | removeSubject (SubjectType *subject)=0 |
| Remove a subject we were attached to. | |
Friends | |
| class | Subject< NOTIFICATIONINTERFACE > |
| Only Subject should use this class. | |
For internal use only.
| NOTIFICATIONINTERFACE | The interface that contains the notification function. ObserverInterface will derive from that. |
Definition at line 66 of file ObserverInterface.hpp.
| typedef NOTIFICATIONINTERFACE wns::ObserverInterface< NOTIFICATIONINTERFACE >::NotificationType |
This provides the NotificationInterface that is used by both this ObserverInterface and SubjectInterface.
Definition at line 82 of file ObserverInterface.hpp.
| typedef SubjectInterface<ObserverInterface> wns::ObserverInterface< NOTIFICATIONINTERFACE >::SubjectType |
This always refers to the SubjectInterface that uses the same NotificationInterface.
Reimplemented in wns::Observer< NOTIFICATIONINTERFACE >, wns::Observer< wns::service::phy::ofdma::CarrierSensing >, wns::Observer< wifimac::convergence::IChannelState >, wns::Observer< wifimac::convergence::INetworkAllocationVector >, wns::Observer< wns::service::phy::copper::Handler >, wns::Observer< wimemac::convergence::ITxStartEnd >, wns::Observer< wifimac::convergence::ITxStartEnd >, wns::Observer< wimemac::convergence::IChannelState >, wns::Observer< lte::controlplane::ResourceGrantNotificationInterface >, wns::Observer< wns::service::phy::copper::DataTransmissionFeedbackInterface >, wns::Observer< wns::events::scheduler::INotification >, wns::Observer< wimemac::convergence::IRxStartEnd >, wns::Observer< wifimac::convergence::IRxStartEnd >, wns::Observer< AssociationObserverInterface >, wns::Observer< wifimac::management::LinkNotificationInterface >, wns::Observer< wimac::service::ConnectionDeletedNotification >, wns::Observer< lte::timing::SuperFrameStartNotificationInterface >, wns::Observer< wns::service::phy::copper::CarrierSensing >, wns::Observer< wns::probe::bus::detail::IProbeBusNotification >, wns::Observer< ofdmaphy::RSSInterface >, and wns::Observer< wns::PositionObserver >.
Definition at line 89 of file ObserverInterface.hpp.
| virtual wns::ObserverInterface< NOTIFICATIONINTERFACE >::~ObserverInterface | ( | ) | [inline, virtual] |
Definition at line 92 of file ObserverInterface.hpp.
| virtual void wns::ObserverInterface< NOTIFICATIONINTERFACE >::addSubject | ( | SubjectType * | subject | ) | [private, pure virtual] |
| subject | A subject we are attached to. |
Implemented in wns::Observer< NOTIFICATIONINTERFACE >, wns::Observer< wifimac::convergence::INetworkAllocationVector >, wns::Observer< wimemac::convergence::ITxStartEnd >, wns::Observer< wimemac::convergence::IRxStartEnd >, wns::Observer< wifimac::convergence::IRxStartEnd >, wns::Observer< wifimac::management::LinkNotificationInterface >, wns::Observer< lte::timing::SuperFrameStartNotificationInterface >, wns::Observer< wns::service::phy::copper::CarrierSensing >, wns::Observer< ofdmaphy::RSSInterface >, and wns::Observer< wns::PositionObserver >.
| virtual void wns::ObserverInterface< NOTIFICATIONINTERFACE >::removeSubject | ( | SubjectType * | subject | ) | [private, pure virtual] |
| subject | The subject to remove. |
Implemented in wns::Observer< NOTIFICATIONINTERFACE >, wns::Observer< wifimac::convergence::INetworkAllocationVector >, wns::Observer< wimemac::convergence::ITxStartEnd >, wns::Observer< wimemac::convergence::IRxStartEnd >, wns::Observer< wifimac::convergence::IRxStartEnd >, wns::Observer< wifimac::management::LinkNotificationInterface >, wns::Observer< lte::timing::SuperFrameStartNotificationInterface >, wns::Observer< wns::service::phy::copper::CarrierSensing >, wns::Observer< ofdmaphy::RSSInterface >, and wns::Observer< wns::PositionObserver >.
friend class Subject< NOTIFICATIONINTERFACE > [friend] |
Subject is the only class with access to addSubject() and removeSubject().
Definition at line 74 of file ObserverInterface.hpp.
1.5.5