Geant4.10
|
Go to the source code of this file.
Data Structures | |
struct | tpia_targetEntry_s |
struct | tpia_depot_s |
Typedefs | |
typedef struct tpia_targetEntry_s | tpia_targetEntry |
typedef struct tpia_depot_s | tpia_depot |
Functions | |
tpia_depot * | tpia_depot_create (statusMessageReporting *smr, const char *projectileName) |
int | tpia_depot_initialize (statusMessageReporting *smr, tpia_depot *depot, const char *projectileName) |
tpia_depot * | tpia_depot_free (tpia_depot *depot, int freeMap) |
int | tpia_depot_release (tpia_depot *depot, int freeMap) |
int | tpia_depot_setMap (statusMessageReporting *smr, tpia_depot *depot, tpia_map *map) |
int | tpia_depot_setMapFromFilename (statusMessageReporting *smr, tpia_depot *depot, const char *basePath, const char *mapFileName) |
tpia_map * | tpia_depot_releaseMap (tpia_depot *depot) |
int | tpia_depot_freeMap (tpia_depot *depot) |
tpia_target * | tpia_depot_addTarget (statusMessageReporting *smr, tpia_depot *depot, const char *evaluation, const char *targetName) |
tpia_target * | tpia_depot_addTargetFromMap (statusMessageReporting *smr, tpia_depot *depot, tpia_map *map, const char *evaluation, const char *targetName) |
typedef struct tpia_depot_s tpia_depot |
Definition at line 51 of file tpia_depot.h.
typedef struct tpia_targetEntry_s tpia_targetEntry |
Definition at line 50 of file tpia_depot.h.
tpia_target* tpia_depot_addTarget | ( | statusMessageReporting * | smr, |
tpia_depot * | depot, | ||
const char * | evaluation, | ||
const char * | targetName | ||
) |
Definition at line 153 of file tpia_depot.cc.
References tpia_depot_s::map, and tpia_depot_addTargetFromMap().
tpia_target* tpia_depot_addTargetFromMap | ( | statusMessageReporting * | smr, |
tpia_depot * | depot, | ||
tpia_map * | map, | ||
const char * | evaluation, | ||
const char * | targetName | ||
) |
Definition at line 160 of file tpia_depot.cc.
References tpia_particle_s::name, tpia_depot_s::projectileName, smr_setMessageError(), tpia_targetEntry_s::target, tpia_target_s::targetID, tpia_depot_getFirstTargetEntry(), tpia_depot_getNextTargetEntry(), and tpia_target_createReadFromMap().
Referenced by tpia_depot_addTarget().
tpia_depot* tpia_depot_create | ( | statusMessageReporting * | smr, |
const char * | projectileName | ||
) |
Definition at line 47 of file tpia_depot.cc.
References tpia_depot_free(), tpia_depot_initialize(), and xData_malloc2.
tpia_depot* tpia_depot_free | ( | tpia_depot * | depot, |
int | freeMap | ||
) |
Definition at line 74 of file tpia_depot.cc.
References tpia_depot_release(), and xData_free().
Referenced by tpia_depot_create().
int tpia_depot_freeMap | ( | tpia_depot * | depot | ) |
Definition at line 129 of file tpia_depot.cc.
References tpia_depot_releaseMap(), and tpia_map_free().
int tpia_depot_initialize | ( | statusMessageReporting * | smr, |
tpia_depot * | depot, | ||
const char * | projectileName | ||
) |
Definition at line 59 of file tpia_depot.cc.
References tpia_depot_s::map, tpia_depot_s::numberOfTargets, tpia_depot_s::projectileName, tpia_depot_s::status, tpia_depot_s::targets, and xData_malloc2.
Referenced by tpia_depot_create().
int tpia_depot_release | ( | tpia_depot * | depot, |
int | freeMap | ||
) |
Definition at line 83 of file tpia_depot.cc.
References tpia_depot_s::map, tpia_targetEntry_s::next, tpia_depot_s::numberOfTargets, tpia_depot_s::projectileName, tpia_depot_s::status, tpia_targetEntry_s::target, tpia_depot_s::targets, tpia_map_free(), tpia_target_free(), and xData_free().
Referenced by tpia_depot_free().
tpia_map* tpia_depot_releaseMap | ( | tpia_depot * | depot | ) |
Definition at line 119 of file tpia_depot.cc.
References tpia_depot_s::map.
Referenced by tpia_depot_freeMap().
int tpia_depot_setMap | ( | statusMessageReporting * | smr, |
tpia_depot * | depot, | ||
tpia_map * | map | ||
) |
int tpia_depot_setMapFromFilename | ( | statusMessageReporting * | smr, |
tpia_depot * | depot, | ||
const char * | basePath, | ||
const char * | mapFileName | ||
) |
Definition at line 111 of file tpia_depot.cc.
References tpia_depot_s::map, and tpia_map_readFile().