The Gaudi Framework  master (37c0b60a)
Application.cpp File Reference
Include dependency graph for Application.cpp:

Go to the source code of this file.

Macros

#define GAUDI_ASSERT_THROW_NAME(cond, msg, name)   if ( !cond ) throw GaudiException{ msg, name, StatusCode::FAILURE };
 
#define GAUDI_ASSERT_THROW(cond, msg)   if ( !cond ) throw GaudiException{ msg, this->name(), StatusCode::FAILURE };
 

Functions

Gaudi::Application_py_Gaudi__Application__create (const char *name, const c_opt_t *options, unsigned long n)
 
int _py_Gaudi__Application__run (Gaudi::Application *self)
 
void _py_Gaudi__Application__delete (Gaudi::Application *self)
 

Macro Definition Documentation

◆ GAUDI_ASSERT_THROW

#define GAUDI_ASSERT_THROW (   cond,
  msg 
)    if ( !cond ) throw GaudiException{ msg, this->name(), StatusCode::FAILURE };

Definition at line 29 of file Application.cpp.

◆ GAUDI_ASSERT_THROW_NAME

#define GAUDI_ASSERT_THROW_NAME (   cond,
  msg,
  name 
)    if ( !cond ) throw GaudiException{ msg, name, StatusCode::FAILURE };

Definition at line 26 of file Application.cpp.

Function Documentation

◆ _py_Gaudi__Application__create()

Gaudi::Application* _py_Gaudi__Application__create ( const char *  name,
const c_opt_t *  options,
unsigned long  n 
)

Definition at line 110 of file Application.cpp.

110  {
112  gsl::span py_opts{ options, static_cast<std::remove_cv_t<decltype( gsl::dynamic_extent )>>( n ) };
113  for ( auto& opt : py_opts ) { opts[opt.key] = opt.value; }
114  return Gaudi::Application::create( name, std::move( opts ) ).release();
115 }

◆ _py_Gaudi__Application__delete()

void _py_Gaudi__Application__delete ( Gaudi::Application self)

Definition at line 117 of file Application.cpp.

117 { delete self; }

◆ _py_Gaudi__Application__run()

int _py_Gaudi__Application__run ( Gaudi::Application self)

Definition at line 116 of file Application.cpp.

116 { return self->run(); }
Gaudi.Application.create
def create(cls, appType, opts)
Definition: __init__.py:127
std::move
T move(T... args)
gaudirun.opts
opts
Definition: gaudirun.py:336
std::map< std::string, std::string >
cpluginsvc.n
n
Definition: cpluginsvc.py:234
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
gaudirun.options
options
Definition: gaudirun.py:313