The Gaudi Framework  v29r0 (ff2e7097)
AvalancheSchedulerSvc::SchedulerState Class Reference
Collaboration diagram for AvalancheSchedulerSvc::SchedulerState:

Public Member Functions

 SchedulerState (Algorithm *a, EventContext *e, pthread_t t)
 
Algorithmalg () const
 
EventContext ctx () const
 
pthread_t thread () const
 
bool operator== (const SchedulerState &ss) const
 
bool operator== (Algorithm *a) const
 
bool operator< (const SchedulerState &rhs) const
 

Private Attributes

Algorithmm_a
 
EventContext m_e
 
pthread_t m_t
 

Friends

std::ostreamoperator<< (std::ostream &os, const SchedulerState &ss)
 

Detailed Description

Definition at line 288 of file AvalancheSchedulerSvc.h.

Constructor & Destructor Documentation

AvalancheSchedulerSvc::SchedulerState::SchedulerState ( Algorithm a,
EventContext e,
pthread_t  t 
)
inline

Member Function Documentation

Algorithm* AvalancheSchedulerSvc::SchedulerState::alg ( ) const
inline

Definition at line 294 of file AvalancheSchedulerSvc.h.

EventContext AvalancheSchedulerSvc::SchedulerState::ctx ( ) const
inline

Definition at line 295 of file AvalancheSchedulerSvc.h.

bool AvalancheSchedulerSvc::SchedulerState::operator< ( const SchedulerState rhs) const
inline

Definition at line 309 of file AvalancheSchedulerSvc.h.

309 { return ( m_a < rhs.alg() ); }
bool AvalancheSchedulerSvc::SchedulerState::operator== ( const SchedulerState ss) const
inline

Definition at line 305 of file AvalancheSchedulerSvc.h.

305 { return ( m_a == ss.alg() ); }
bool AvalancheSchedulerSvc::SchedulerState::operator== ( Algorithm a) const
inline

Definition at line 307 of file AvalancheSchedulerSvc.h.

307 { return ( m_a == a ); }
pthread_t AvalancheSchedulerSvc::SchedulerState::thread ( ) const
inline

Definition at line 296 of file AvalancheSchedulerSvc.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream os,
const SchedulerState ss 
)
friend

Definition at line 298 of file AvalancheSchedulerSvc.h.

299  {
300  os << ss.ctx() << " a: " << ss.alg()->name() << " [" << std::hex << ss.alg() << std::dec << "] t: 0x"
301  << std::hex << ss.thread() << std::dec;
302  return os;
303  }
T hex(T...args)

Member Data Documentation

Algorithm* AvalancheSchedulerSvc::SchedulerState::m_a
private

Definition at line 312 of file AvalancheSchedulerSvc.h.

EventContext AvalancheSchedulerSvc::SchedulerState::m_e
private

Definition at line 313 of file AvalancheSchedulerSvc.h.

pthread_t AvalancheSchedulerSvc::SchedulerState::m_t
private

Definition at line 314 of file AvalancheSchedulerSvc.h.


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