| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
gaudi-policy.gen_conf Class Reference
Inheritance diagram for gaudi-policy.gen_conf:
[legend]
Collaboration diagram for gaudi-policy.gen_conf:
[legend]

## Public Member Functions
def | run

## Static Public Attributes
list | vars ['GENCONF', 'DEFINES', 'INCLUDES', 'GENCONF_CONFIGURABLE_MODULE']
string | color 'BLUE'
list | ext_in ['.bin', '.so']
list | ext_out ['.py']
| shell False
| reentrant True
list | after ['cxxshlib', 'cxxprogram', 'symlink_tsk', 'gen_map']
list | depends_on ['genconf', 'complib-GaudiCoreSvc']

## Detailed Description

Definition at line 513 of file gaudi-policy.py.

## Member Function Documentation

def gaudi-policy.gen_conf.run | ( |  | self | ) |

Definition at line 523 of file gaudi-policy.py.

523
524 def run(self):
525 import os
526 cmd = '${GENCONF} -p ${PACKAGE_NAME} -i %s -o ${GENCONF_OUTPUTDIR} --configurable-module ${GENCONF_CONFIGURABLE_MODULE}' % (
527 self.inputs[0].name,
528 )
529 cmd = waflib.Utils.subst_vars(cmd, self.env)
530
531 bld_node = self.inputs[0].parent.get_bld()
532
533 o = self.outputs[0].change_ext('.genconf.log')
534 fout_node = bld_node.find_or_declare(o.name)
535 fout = open(fout_node.abspath(), 'w')
536 env = self.generator.bld._get_env_for_subproc()
537 rc = self.generator.bld.exec_command(
538 cmd,
539 stdout=fout,
540 stderr=fout,
541 env=env
542 )
543 if rc != 0:
544 msg.error("** error running [%s]" % cmd)
545 msg.error(fout_node.read())
546 return rc

## Member Data Documentation

list gaudi-policy.gen_conf.after ['cxxshlib', 'cxxprogram', 'symlink_tsk', 'gen_map']
| static

Definition at line 520 of file gaudi-policy.py.

string gaudi-policy.gen_conf.color 'BLUE'
| static

Definition at line 515 of file gaudi-policy.py.

list gaudi-policy.gen_conf.depends_on ['genconf', 'complib-GaudiCoreSvc']
| static

Definition at line 521 of file gaudi-policy.py.

list gaudi-policy.gen_conf.ext_in ['.bin', '.so']
| static

Definition at line 516 of file gaudi-policy.py.

list gaudi-policy.gen_conf.ext_out ['.py']
| static

Definition at line 517 of file gaudi-policy.py.

gaudi-policy.gen_conf.reentrant True
| static

Definition at line 519 of file gaudi-policy.py.

gaudi-policy.gen_conf.shell False
| static

Definition at line 518 of file gaudi-policy.py.

list gaudi-policy.gen_conf.vars ['GENCONF', 'DEFINES', 'INCLUDES', 'GENCONF_CONFIGURABLE_MODULE']
| static

Definition at line 514 of file gaudi-policy.py.

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiPolicy/waftools/gaudi-policy.py