ATLAS Offline Software
Loading...
Searching...
No Matches
VomsProxySvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EVENT_LOOP_VOMS_PROXY_SVC_H
6#define EVENT_LOOP_VOMS_PROXY_SVC_H
7
8//
9// Distributed under the Boost Software License, Version 1.0.
10// (See accompanying file LICENSE_1_0.txt or copy at
11// http://www.boost.org/LICENSE_1_0.txt)
12
13// Please feel free to contact me (krumnack@iastate.edu) for bug
14// reports, feature suggestions, praise and complaints.
15
16
17#include <EventLoop/Global.h>
18
19#include <EventLoop/Algorithm.h>
20
21namespace EL
22{
23 class VomsProxySvc : public Algorithm
24 {
25 //
26 // public interface
27 //
28
30 public:
31 static const std::string& algServiceName ();
32
33
36 public:
37 void testInvariant () const;
38
40 public:
41 std::string m_fileName;
42
43
44
45 //
46 // interface inherited from Algorithm
47 //
48
49 public:
50 virtual const char *GetName () const override;
51
52 private:
53 virtual StatusCode setupJob (Job& job) override;
54
55 private:
56 virtual StatusCode histInitialize () override;
57
58
59
60 //
61 // private interface
62 //
63
65 private:
66 std::string m_proxyData;
67
68#pragma GCC diagnostic push
69#pragma GCC diagnostic ignored "-Wpragmas"
70#pragma GCC diagnostic ignored "-Wunknown-pragmas"
71#pragma GCC diagnostic ignored "-Winconsistent-missing-override"
73#pragma GCC diagnostic pop
74 };
75}
76
77#endif
friend class Job
Definition Algorithm.h:292
Algorithm()
effects: standard default constructor guarantee: strong failures: low level errors I
virtual const char * GetName() const override
static const std::string & algServiceName()
description: the name of the service
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
std::string m_fileName
the name of the file to be created
std::string m_proxyData
the data to place inside the proxy file
ClassDef(VomsProxySvc, 1)
virtual StatusCode histInitialize() override
effects: this is a pre-initialization routine that is called before changeInput is called.
virtual StatusCode setupJob(Job &job) override
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.