GetDiagnosticSetting.h

Go to the documentation of this file.
00001 // Copyright CERN 2012 - Developed in collaboration with GSI
00002 
00003 #ifndef _GET_DIAGNOSTIC_SETTING_H_
00004 #define _GET_DIAGNOSTIC_SETTING_H_
00005 
00006 #include <fesa-core/Server/AbstractServerAction.h>
00007 
00008 
00009 namespace fesa
00010 {
00011 
00016 class GetDiagnosticSetting : public AbstractServerAction
00017 {
00018   public:
00025     GetDiagnosticSetting(ServerActionConfig& serverActCfg, const AbstractServiceLocator* serviceLocator, const std::map<std::string, const AbstractServiceLocator*> serviceLocatorRelatedClasses);
00026 
00030     virtual ~GetDiagnosticSetting();
00041     void execute(RequestEvent* event, AbstractDevice& device, const rdaData& filter, rdaData& data,
00042                  IOType ioType, RequestType requestType);
00047     bool needFilter();
00048     int64_t getDataTimestamp(fesa::AbstractDevice&, fesa::MultiplexingContext&, const rdaData&);
00049 
00050   private:
00054     virtual void performCommit(MultiplexingContext& context, AbstractDevice* transactionDevice);
00055     virtual void performRollback(MultiplexingContext& context, AbstractDevice* transactionDevice);
00056 };
00057 
00058 inline int64_t
00059 GetDiagnosticSetting::getDataTimestamp(fesa::AbstractDevice&, fesa::MultiplexingContext&, const rdaData&)
00060 {
00061     return 0;
00062 }
00063 
00064 } // fesa
00065 
00066 #endif // _GET_DIAGNOSTIC_SETTING_H_

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1