fesa-core-gsi  7.0.0
fesaGSI::Property Class Reference

This class adds some lab-specifica to the default fesa::Property. More...

#include <Property.h>

Inherits Property.

Public Member Functions

 Property (const fesa::PropertyConstructorParameters &parameters, fesa::AbstractServerAction *getServerAction, fesa::AbstractServerAction *setServerAction)
 Constructor. More...
 
 Property (const fesa::PropertyConstructorParameters &parameters)
 empty constructor for UnitTesting More...
 
virtual ~Property ()
 Destructor.
 
void validateCycleSelector (const fesa::AbstractDevice &device, const fesa::Selector &cycleSelector, fesa::RequestType::RequestType reqType) const
 Validates a cycle selector. Throws an exception if the selector is invalid. More...
 

Detailed Description

This class adds some lab-specifica to the default fesa::Property.

Constructor & Destructor Documentation

fesaGSI::Property::Property ( const fesa::PropertyConstructorParameters &  parameters,
fesa::AbstractServerAction *  getServerAction,
fesa::AbstractServerAction *  setServerAction 
)

Constructor.

Parameters
parameterscontains all mandatory parameters of the property
getServerActionwith the pointer to the server action that will be executed to get the value for the property (NULL if not used)
setServerActionwith the pointer to the server action that will be executed to set the value for the property (NULL if not used)
fesaGSI::Property::Property ( const fesa::PropertyConstructorParameters &  parameters)

empty constructor for UnitTesting

Parameters
parameterscontains all mandatory parameters of the property

Member Function Documentation

void fesaGSI::Property::validateCycleSelector ( const fesa::AbstractDevice &  device,
const fesa::Selector &  cycleSelector,
fesa::RequestType::RequestType  reqType 
) const

Validates a cycle selector. Throws an exception if the selector is invalid.

Parameters
deviceThe device on which the operation (get/set/monitor) is done
cycleSelectorto be checked
reqTypeThe type of request
Exceptions
FesaExceptionindicating the reason why the selector is refused

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