From 4ffac4c3d9f1b6f833a010123c5749f90a4d2176 Mon Sep 17 00:00:00 2001 From: richterm Date: Mon, 4 Apr 2011 08:06:00 +0000 Subject: [PATCH] imlementing dummy function for a pure virtual function of the AliShuttleInterface base class, adding protection to detect potential problems better in the future --- HLT/pendolino/AliHLTPendolino.cxx | 5 +++++ HLT/pendolino/AliHLTPendolino.h | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/HLT/pendolino/AliHLTPendolino.cxx b/HLT/pendolino/AliHLTPendolino.cxx index fb68a400311..53c29afce2c 100644 --- a/HLT/pendolino/AliHLTPendolino.cxx +++ b/HLT/pendolino/AliHLTPendolino.cxx @@ -46,6 +46,11 @@ using namespace std; +// this global object is not for use, it just makes sure that +// AliHLTPendolino can be instantiated. In case of missing virtual +// functions a compilation error will indicate potential problems in +// the pendolino macros +AliHLTPendolino gAliHLTPendolino(0,""); ClassImp(AliHLTPendolino) diff --git a/HLT/pendolino/AliHLTPendolino.h b/HLT/pendolino/AliHLTPendolino.h index 6df78812b47..b2fcd1ecfca 100644 --- a/HLT/pendolino/AliHLTPendolino.h +++ b/HLT/pendolino/AliHLTPendolino.h @@ -405,7 +405,11 @@ class AliHLTPendolino : public AliShuttleInterface { * needs to be implemented to create pendolino instances */ virtual void SendMLFromDet(const char* /*value*/) {} - + /** + * method introduced as pure virtual in r45587 + * needs to be implemented to create pendolino instances + */ + virtual TString* GetLTUConfig(const char* /*det*/) {return NULL;} protected: -- 2.43.0