fesa::OnSubscriptionRTEventPayload Class Reference

#include <OnSubscriptionRTEventPayload.h>

Inheritance diagram for fesa::OnSubscriptionRTEventPayload:
fesa::RTEventPayload

List of all members.

Public Member Functions

 OnSubscriptionRTEventPayload (std::string &deviceName, std::string &propertyName, std::string &cycleSelectorName, rdaData &data)
std::string getDeviceName ()
 Retrieve the device name which produced the notification.
std::string getPropertyName ()
 Retrieve the property name which produced the notification.
std::string getCycleSelectorName ()
 Retrieve the cycle name when the notification occurred.
template<class T >
void getValue (T &data)
 Retrieve the data notified for a remote device. The type of the data is specific of each property and it is passed in the template parameter.

Private Attributes

std::string deviceName_
 name of the device that was notified
std::string propertyName_
 name of the property that was notified
std::string cycleSelectorName_
 cycle selector
rdaData rdaData_
 rda data

Friends

class OnSubscriptionEventSource

Detailed Description

Definition at line 19 of file OnSubscriptionRTEventPayload.h.


Constructor & Destructor Documentation

fesa::OnSubscriptionRTEventPayload::OnSubscriptionRTEventPayload ( std::string &  deviceName,
std::string &  propertyName,
std::string &  cycleSelectorName,
rdaData &  data 
)

FESA-758 the constructor should accept all the necessary parameters deviceName, propertyName, cycle

Definition at line 8 of file OnSubscriptionRTEventPayload.cpp.

References cycleSelectorName_, deviceName_, propertyName_, and rdaData_.


Member Function Documentation

std::string fesa::OnSubscriptionRTEventPayload::getCycleSelectorName (  ) 

Retrieve the cycle name when the notification occurred.

Definition at line 27 of file OnSubscriptionRTEventPayload.cpp.

References cycleSelectorName_.

std::string fesa::OnSubscriptionRTEventPayload::getDeviceName (  ) 

Retrieve the device name which produced the notification.

Definition at line 17 of file OnSubscriptionRTEventPayload.cpp.

References deviceName_.

std::string fesa::OnSubscriptionRTEventPayload::getPropertyName (  ) 

Retrieve the property name which produced the notification.

Definition at line 22 of file OnSubscriptionRTEventPayload.cpp.

References propertyName_.

template<class T >
void fesa::OnSubscriptionRTEventPayload::getValue ( T &  data  )  [inline]

Retrieve the data notified for a remote device. The type of the data is specific of each property and it is passed in the template parameter.

Definition at line 79 of file OnSubscriptionRTEventPayload.h.

References rdaData_.


Friends And Related Function Documentation

friend class OnSubscriptionEventSource [friend]

Definition at line 76 of file OnSubscriptionRTEventPayload.h.


Member Data Documentation

cycle selector

Definition at line 69 of file OnSubscriptionRTEventPayload.h.

Referenced by getCycleSelectorName(), and OnSubscriptionRTEventPayload().

name of the device that was notified

Definition at line 59 of file OnSubscriptionRTEventPayload.h.

Referenced by getDeviceName(), and OnSubscriptionRTEventPayload().

name of the property that was notified

Definition at line 64 of file OnSubscriptionRTEventPayload.h.

Referenced by getPropertyName(), and OnSubscriptionRTEventPayload().


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1