ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/parallel/TopC/ParN02/include/MarshaledObj.h>
Public Member Functions | |
MarshaledObj () | |
MarshaledObj (void *buf, char chIsUnmarshaling) | |
~MarshaledObj () | |
bool | isUnmarshaling () |
void | EXTEND_BUFFER (int size) |
void | resizeBuffer (size_t new_size) |
int | getBufferSize () |
char * | getBuffer () |
void | marshalPrimitive (void *p, int size) |
void | unmarshalPrimitive (void *p, int size) |
MarshaledObj () | |
MarshaledObj (void *buf, char chIsUnmarshaling) | |
~MarshaledObj () | |
bool | isUnmarshaling () |
void | EXTEND_BUFFER (int size) |
void | resizeBuffer (size_t new_size) |
int | getBufferSize () |
char * | getBuffer () |
void | marshalPrimitive (void *p, int size) |
void | unmarshalPrimitive (void *p, int size) |
Static Public Member Functions | |
static int | ROUND_UP (int x) |
static int | ROUND_UP (int x) |
Protected Attributes | |
int | msh_typechoice |
char * | msh_buffer |
char * | msh_field_begin |
size_t | msh_size |
char * | msh_cursor |
size_t | msh_extent |
bool | msh_isUnmarshalDone |
Private Member Functions | |
const MarshaledObj & | operator= (const MarshaledObj &right) |
const MarshaledObj & | operator= (const MarshaledObj &right) |
Static Private Attributes | |
static const int | WORD_SIZE = sizeof(long) |
Definition at line 27 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 27 of file MarshaledObj.h
|
inline |
Definition at line 38 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 38 of file MarshaledObj.h
References MSH_ASSERT, msh_buffer, msh_cursor, msh_extent, msh_field_begin, MSH_HEADER_SIZE, msh_isUnmarshalDone, MSH_SET_TOTALSIZE, MSH_SET_TYPECHOICE, msh_size, and msh_typechoice.
|
inline |
Definition at line 62 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 62 of file MarshaledObj.h
References MSH_ASSERT, msh_buffer, msh_cursor, msh_extent, msh_field_begin, MSH_GET_TOTALSIZE, MSH_GET_TYPECHOICE, MSH_HEADER_SIZE, msh_isUnmarshalDone, msh_size, msh_typechoice, printf(), and ROUND_UP().
|
inline |
Definition at line 87 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 87 of file MarshaledObj.h
References isUnmarshaling(), and msh_buffer.
|
inline |
Definition at line 38 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 38 of file MarshaledObj.h
References MSH_ASSERT, msh_buffer, msh_cursor, msh_extent, msh_field_begin, MSH_HEADER_SIZE, msh_isUnmarshalDone, MSH_SET_TOTALSIZE, MSH_SET_TYPECHOICE, msh_size, and msh_typechoice.
|
inline |
Definition at line 62 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 62 of file MarshaledObj.h
References MSH_ASSERT, msh_buffer, msh_cursor, msh_extent, msh_field_begin, MSH_GET_TOTALSIZE, MSH_GET_TYPECHOICE, MSH_HEADER_SIZE, msh_isUnmarshalDone, msh_size, msh_typechoice, printf(), and ROUND_UP().
|
inline |
Definition at line 87 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 87 of file MarshaledObj.h
References isUnmarshaling(), and msh_buffer.
Definition at line 122 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 122 of file MarshaledObj.h
References msh_extent, msh_size, and resizeBuffer().
Referenced by MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledExN02TrackerHit::marshal4(), and marshalPrimitive().
Definition at line 122 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 122 of file MarshaledObj.h
References msh_extent, msh_size, and resizeBuffer().
|
inline |
Definition at line 149 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 149 of file MarshaledObj.h
References msh_buffer.
|
inline |
Definition at line 149 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 149 of file MarshaledObj.h
References msh_buffer.
Referenced by MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledG4VHitsCollection::marshal2(), and MarshaledG4VHitsCollection::marshal3().
|
inline |
Definition at line 145 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 145 of file MarshaledObj.h
References msh_size.
Referenced by MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledG4VHitsCollection::marshal2(), MarshaledG4VHitsCollection::marshal3(), MarshaledG4HCofThisEvent::unmarshal1(), and MarshaledG4HitsCollection::unmarshal1().
|
inline |
Definition at line 145 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 145 of file MarshaledObj.h
References msh_size.
|
inline |
Definition at line 92 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 92 of file MarshaledObj.h
References msh_extent.
Referenced by MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledExN02TrackerHit::marshal4(), MarshaledExN04CalorimeterHit::marshal4(), marshalPrimitive(), and ~MarshaledObj().
|
inline |
Definition at line 92 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 92 of file MarshaledObj.h
References msh_extent.
Definition at line 154 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 154 of file MarshaledObj.h
References EXTEND_BUFFER(), int(), isUnmarshaling(), msh_buffer, msh_cursor, MSH_SET_TOTALSIZE, and msh_size.
Definition at line 154 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 154 of file MarshaledObj.h
References EXTEND_BUFFER(), int(), isUnmarshaling(), msh_buffer, msh_cursor, MSH_SET_TOTALSIZE, and msh_size.
|
private |
|
private |
|
inline |
Definition at line 129 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 129 of file MarshaledObj.h
References MSH_ASSERT, msh_buffer, msh_cursor, msh_extent, and msh_field_begin.
Referenced by EXTEND_BUFFER().
|
inline |
Definition at line 129 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 129 of file MarshaledObj.h
References MSH_ASSERT, msh_buffer, msh_cursor, msh_extent, and msh_field_begin.
Definition at line 32 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 32 of file MarshaledObj.h
References WORD_SIZE.
Definition at line 32 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 32 of file MarshaledObj.h
References WORD_SIZE.
Referenced by MarshaledObj().
Definition at line 171 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 171 of file MarshaledObj.h
References int(), and msh_cursor.
Definition at line 171 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 171 of file MarshaledObj.h
References int(), and msh_cursor.
|
protected |
Definition at line 104 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 104 of file MarshaledObj.h
Referenced by getBuffer(), MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN02TrackerHit::marshal3(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledExN02TrackerHit::marshal4(), MarshaledObj(), marshalPrimitive(), resizeBuffer(), and ~MarshaledObj().
|
protected |
Definition at line 113 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 113 of file MarshaledObj.h
Referenced by MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledExN02TrackerHit::marshal3(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledExN02TrackerHit::marshal4(), MarshaledObj(), marshalPrimitive(), resizeBuffer(), MarshaledG4String::unmarshal1(), MarshaledExN04TrackerHit::unmarshal1(), MarshaledExN04MuonHit::unmarshal1(), MarshaledG4VHitsCollection::unmarshal1(), MarshaledExN04CalorimeterHit::unmarshal1(), MarshaledExN02TrackerHit::unmarshal1(), MarshaledG4HCofThisEvent::unmarshal1(), MarshaledG4HitsCollection::unmarshal1(), MarshaledG4THitsCollection< T >::unmarshal1(), MarshaledExN04TrackerHit::unmarshal2(), MarshaledExN04MuonHit::unmarshal2(), MarshaledG4VHitsCollection::unmarshal2(), MarshaledExN02TrackerHit::unmarshal2(), MarshaledExN04CalorimeterHit::unmarshal2(), MarshaledExN02TrackerHit::unmarshal3(), MarshaledExN04CalorimeterHit::unmarshal3(), MarshaledG4VHitsCollection::unmarshal3(), MarshaledExN04CalorimeterHit::unmarshal4(), MarshaledExN02TrackerHit::unmarshal4(), and unmarshalPrimitive().
|
protected |
Definition at line 117 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 117 of file MarshaledObj.h
Referenced by EXTEND_BUFFER(), isUnmarshaling(), MarshaledObj(), and resizeBuffer().
|
protected |
Definition at line 107 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 107 of file MarshaledObj.h
Referenced by MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledExN02TrackerHit::marshal4(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledObj(), and resizeBuffer().
|
protected |
Definition at line 119 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 119 of file MarshaledObj.h
Referenced by MarshaledExN02TrackerHit::MarshaledExN02TrackerHit(), MarshaledExN04CalorimeterHit::MarshaledExN04CalorimeterHit(), MarshaledExN04MuonHit::MarshaledExN04MuonHit(), MarshaledExN04TrackerHit::MarshaledExN04TrackerHit(), MarshaledG4HCofThisEvent::MarshaledG4HCofThisEvent(), MarshaledG4HitsCollection::MarshaledG4HitsCollection(), MarshaledG4String::MarshaledG4String(), MarshaledG4THitsCollection< T >::MarshaledG4THitsCollection(), MarshaledG4VHitsCollection::MarshaledG4VHitsCollection(), MarshaledObj(), MarshaledExN04TrackerHit::unmarshal(), MarshaledG4String::unmarshal(), MarshaledExN04MuonHit::unmarshal(), MarshaledExN02TrackerHit::unmarshal(), MarshaledExN04CalorimeterHit::unmarshal(), MarshaledG4VHitsCollection::unmarshal(), MarshaledG4HitsCollection::unmarshal(), MarshaledG4HCofThisEvent::unmarshal(), MarshaledG4THitsCollection< T >::unmarshal(), MarshaledG4String::unmarshalTo(), MarshaledExN04MuonHit::unmarshalTo(), MarshaledExN04TrackerHit::unmarshalTo(), MarshaledG4VHitsCollection::unmarshalTo(), MarshaledExN04CalorimeterHit::unmarshalTo(), MarshaledExN02TrackerHit::unmarshalTo(), MarshaledG4HCofThisEvent::unmarshalTo(), MarshaledG4HitsCollection::unmarshalTo(), and MarshaledG4THitsCollection< T >::unmarshalTo().
|
protected |
Definition at line 110 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 110 of file MarshaledObj.h
Referenced by EXTEND_BUFFER(), getBufferSize(), MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledExN02TrackerHit::marshal4(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledObj(), marshalPrimitive(), MarshaledG4String::unmarshal(), MarshaledExN04MuonHit::unmarshal(), MarshaledExN04TrackerHit::unmarshal(), MarshaledG4VHitsCollection::unmarshal(), MarshaledExN02TrackerHit::unmarshal(), MarshaledExN04CalorimeterHit::unmarshal(), MarshaledG4HCofThisEvent::unmarshal(), MarshaledG4HitsCollection::unmarshal(), MarshaledG4THitsCollection< T >::unmarshal(), MarshaledG4String::unmarshalTo(), MarshaledExN04MuonHit::unmarshalTo(), MarshaledExN04TrackerHit::unmarshalTo(), MarshaledG4VHitsCollection::unmarshalTo(), MarshaledExN02TrackerHit::unmarshalTo(), MarshaledExN04CalorimeterHit::unmarshalTo(), MarshaledG4HitsCollection::unmarshalTo(), MarshaledG4HCofThisEvent::unmarshalTo(), and MarshaledG4THitsCollection< T >::unmarshalTo().
|
protected |
Definition at line 101 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 101 of file MarshaledObj.h
Referenced by MarshaledG4String::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN02TrackerHit::marshal4(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledObj(), MarshaledG4VHitsCollection::unmarshal(), and MarshaledG4VHitsCollection::unmarshal3().
|
staticprivate |
Definition at line 30 of file MarshaledObj.h.
View newest version in sPHENIX GitHub at line 30 of file MarshaledObj.h
Referenced by ROUND_UP().