#include <FeeItemInfo.hpp>
Inheritance diagram for dcs::fee::FeeItemInfo:
It inheritates from FeeInfo to get the DimInfo features, and to enable a polymorph access to the service data. Create objects of FeeItemInfo to get a connection to a given FEE Item on the server. The value is also updated after a certain timeout.
Public Member Functions | |
FeeItemInfo (FeeServiceStruct &fss, float noLink, DimInfoHandler *pHandler) | |
virtual | ~FeeItemInfo () |
virtual bool | retrieveServiceValue () |
virtual void | initialize () |
float & | getRefFloatValue () |
Private Attributes | |
float | mValue |
FeeServiceStruct | mServiceInfo |
|
Constructor for the FeeItemInfo, without service request after time intervals. This constructor calls implictly the FeeInfo - constructor and with that the DimInfo constructor, so you subsrcibe to the inserted FEE - Item - Service (name).
|
|
Destructor for the FeeItemInfo objects.
|
|
Getter for the reference to the service value.
|
|
Function to set the initial value of this ItemInfo. A possible "No link" at start up can be determined this way. This function should be called once after constructing this object. Implements dcs::fee::FeeInfo. |
|
Function, to be executed when new data from the FEE - Item - Service is available. It retrieves the data of the FeeServer from the DIM framework. It stores the value in the object itself. To get the value the the getValue function.
Implements dcs::fee::FeeInfo. |
|
Service info containing the handler/callback routine for the FeeClientLib interface of this FeeService and the service name.
|
|
Here is the value of this Service stored.
|