The Gaudi Framework  v29r0 (ff2e7097)
ForwardSchedulerSvc::SchedulerState Class Reference
Collaboration diagram for ForwardSchedulerSvc::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 246 of file ForwardSchedulerSvc.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 252 of file ForwardSchedulerSvc.h.

252 { return m_a; }
EventContext ForwardSchedulerSvc::SchedulerState::ctx ( ) const
inline

Definition at line 253 of file ForwardSchedulerSvc.h.

253 { return m_e; }
bool ForwardSchedulerSvc::SchedulerState::operator< ( const SchedulerState rhs) const
inline

Definition at line 267 of file ForwardSchedulerSvc.h.

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

Definition at line 263 of file ForwardSchedulerSvc.h.

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

Definition at line 265 of file ForwardSchedulerSvc.h.

265 { return ( m_a == a ); }
pthread_t ForwardSchedulerSvc::SchedulerState::thread ( ) const
inline

Definition at line 254 of file ForwardSchedulerSvc.h.

Friends And Related Function Documentation

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

Definition at line 256 of file ForwardSchedulerSvc.h.

257  {
258  os << ss.ctx() << " a: " << ss.alg()->name() << " [" << std::hex << ss.alg() << std::dec << "] t: 0x"
259  << std::hex << ss.thread() << std::dec;
260  return os;
261  }
T hex(T...args)

Member Data Documentation

Algorithm* ForwardSchedulerSvc::SchedulerState::m_a
private

Definition at line 270 of file ForwardSchedulerSvc.h.

EventContext ForwardSchedulerSvc::SchedulerState::m_e
private

Definition at line 271 of file ForwardSchedulerSvc.h.

pthread_t ForwardSchedulerSvc::SchedulerState::m_t
private

Definition at line 272 of file ForwardSchedulerSvc.h.


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