EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SeamStress::Seamstress Class Reference

#include <fun4all_coresoftware/blob/master/offline/packages/HelixHough/Seamstress/Seamstress.h>

+ Collaboration diagram for SeamStress::Seamstress:

Public Member Functions

 Seamstress ()
 
 Seamstress (const Seamstress &ss)
 
 ~Seamstress ()
 
void start ()
 
void stop ()
 
void sew ()
 
void rest ()
 

Static Public Member Functions

static void * prepare (void *arg)
 
static void init_vector (unsigned long int N, std::vector< Seamstress > &vec)
 
static std::vector< Seamstress * > * create_vector (unsigned long int N)
 

Public Attributes

Needleneedle
 
void * thread
 

Private Attributes

bool gotime
 
bool end
 
bool queue_end
 
bool running
 
bool started
 
pthread_t pthread
 
pthread_attr_t attr
 
pthread_mutex_t mutex
 
pthread_mutexattr_t mattr
 
pthread_cond_t cond
 
pthread_cond_t waitcond
 

Detailed Description

Definition at line 11 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 11 of file Seamstress.h

Constructor & Destructor Documentation

SeamStress::Seamstress::Seamstress ( )

Definition at line 12 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 12 of file Seamstress.cpp

SeamStress::Seamstress::Seamstress ( const Seamstress ss)

Definition at line 29 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 29 of file Seamstress.cpp

SeamStress::Seamstress::~Seamstress ( )

Definition at line 46 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 46 of file Seamstress.cpp

Member Function Documentation

vector< Seamstress * > * SeamStress::Seamstress::create_vector ( unsigned long int  N)
static

Definition at line 168 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 168 of file Seamstress.cpp

References charm_jet_strange_helicity::N.

void SeamStress::Seamstress::init_vector ( unsigned long int  N,
std::vector< Seamstress > &  vec 
)
static

Definition at line 152 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 152 of file Seamstress.cpp

References charm_jet_strange_helicity::N.

void * SeamStress::Seamstress::prepare ( void *  arg)
static

Definition at line 63 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 63 of file Seamstress.cpp

References cond, end, gotime, mutex, needle, queue_end, running, started, thread, and waitcond.

void SeamStress::Seamstress::rest ( )

Definition at line 141 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 141 of file Seamstress.cpp

void SeamStress::Seamstress::sew ( )

Definition at line 131 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 131 of file Seamstress.cpp

void SeamStress::Seamstress::start ( )

Definition at line 101 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 101 of file Seamstress.cpp

void SeamStress::Seamstress::stop ( )

Definition at line 121 of file Seamstress.cpp.

View newest version in sPHENIX GitHub at line 121 of file Seamstress.cpp

Member Data Documentation

pthread_attr_t SeamStress::Seamstress::attr
private

Definition at line 39 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 39 of file Seamstress.h

pthread_cond_t SeamStress::Seamstress::cond
private

Definition at line 42 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 42 of file Seamstress.h

Referenced by prepare().

bool SeamStress::Seamstress::end
private

Definition at line 34 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 34 of file Seamstress.h

Referenced by prepare().

bool SeamStress::Seamstress::gotime
private

Definition at line 33 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 33 of file Seamstress.h

Referenced by prepare().

pthread_mutexattr_t SeamStress::Seamstress::mattr
private

Definition at line 41 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 41 of file Seamstress.h

pthread_mutex_t SeamStress::Seamstress::mutex
private

Definition at line 40 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 40 of file Seamstress.h

Referenced by prepare().

Needle* SeamStress::Seamstress::needle

Definition at line 29 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 29 of file Seamstress.h

Referenced by prepare().

pthread_t SeamStress::Seamstress::pthread
private

Definition at line 38 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 38 of file Seamstress.h

bool SeamStress::Seamstress::queue_end
private

Definition at line 35 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 35 of file Seamstress.h

Referenced by prepare().

bool SeamStress::Seamstress::running
private

Definition at line 36 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 36 of file Seamstress.h

Referenced by prepare().

bool SeamStress::Seamstress::started
private

Definition at line 37 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 37 of file Seamstress.h

Referenced by prepare().

void* SeamStress::Seamstress::thread

Definition at line 30 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 30 of file Seamstress.h

Referenced by prepare().

pthread_cond_t SeamStress::Seamstress::waitcond
private

Definition at line 43 of file Seamstress.h.

View newest version in sPHENIX GitHub at line 43 of file Seamstress.h

Referenced by prepare().


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