16#ifndef ATHENASERVICES_FPECONTROLSVC_H
17#define ATHENASERVICES_FPECONTROLSVC_H
21#include "GaudiKernel/StatusCode.h"
22#include "Gaudi/Property.h"
23#include "GaudiKernel/IToolSvc.h"
24#include "GaudiKernel/ServiceHandle.h"
61 virtual void onCreate(
const IAlgTool*);
69 FPEControlSvc(
const std::string& name, ISvcLocator* svcloc );
101 void prophand (Gaudi::Details::PropertyBase& prop);
ServiceHandle< IToolSvc > m_toolSvc
Tool service.
int m_disabled
Mask of disabled exceptions.
bool m_haveEnv
Flag that we've retrieved the environment.
std::string m_feSetRounding
flag to decide on rounding mode (for stability tests)
void setFPU()
Set the FPU exception masks from m_enabled and m_disabled.
void prophand(Gaudi::Details::PropertyBase &prop)
Property change handler.
bool m_removeInFinalize
boolean to decide to (not) remove the observer in finalize
StringArrayProperty m_exceptions
Property specifying the desired exception mask.
int m_enabled
Mask of enabled exceptions.
virtual StatusCode finalize()
Standard finalize method.
FPEControlSvc(const std::string &name, ISvcLocator *svcloc)
Constructor.
virtual void onCreate(const IAlgTool *)
Called after each tool has been created.
virtual StatusCode initialize()
Standard initialize method.
fenv_t m_env
The FP environment before we initialize.