CServerDynamicFactorRelations Class Reference

#include <DynamicRelations.H>

Inheritance diagram for CServerDynamicFactorRelations:

Inheritance graph
[legend]
Collaboration diagram for CServerDynamicFactorRelations:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void insert (const TDynamicFactorRelation &x)
int monitoredSize ()
int size_active () const
int size_passive () const
size_t size () const
const int operator[] (const int i)

Private Attributes

CMutex monitor_mutex
CMutex SLP_mutex
vector< int > DynamicFactorList
int size_active_SLP
int size_passive_SLP

Friends

class Cprocess_clients
void fillin_streampos (TDynamicFactorRelation &x)
bool is_dynamic_factor (const int number)
bool is_dynamic_factor (TDynamicFactorRelation &FaRelSearch)


Detailed Description

Definition at line 123 of file DynamicRelations.H.


Member Function Documentation

void CServerDynamicFactorRelations::insert ( const TDynamicFactorRelation x  )  [inline]

Reimplemented from std::set< TDynamicFactorRelation, TDynamicFactorRelation >.

Definition at line 131 of file DynamicRelations.H.

References cerr, DynamicFactorList, endl(), exit(), TDynamicFactorRelation::factor, std::set< TDynamicFactorRelation, TDynamicFactorRelation >::insert(), CMutex::lock(), monitor_mutex, TDynamicFactorRelation::sieveable(), size_active_SLP, size_passive_SLP, SLP_mutex, and CMutex::unlock().

Referenced by CClientDynamicFactorFetcher::fetch(), main(), Cprocess_clients::process_data_stream(), and SpecialRelations::split_by_primefactor().

Here is the call graph for this function:

int CServerDynamicFactorRelations::monitoredSize (  )  [inline]

Definition at line 158 of file DynamicRelations.H.

References DynamicFactorList, CMutex::lock(), monitor_mutex, and CMutex::unlock().

Referenced by Cprocess_clients::process_data_stream().

Here is the call graph for this function:

int CServerDynamicFactorRelations::size_active (  )  const [inline]

Definition at line 165 of file DynamicRelations.H.

References size_active_SLP.

Referenced by statistical_data::StatusReport(), and statistical_data::XML_StatusReport().

int CServerDynamicFactorRelations::size_passive (  )  const [inline]

Definition at line 166 of file DynamicRelations.H.

References size_passive_SLP.

Referenced by statistical_data::StatusReport(), and statistical_data::XML_StatusReport().

size_t CServerDynamicFactorRelations::size (  )  const [inline]

Reimplemented from std::set< TDynamicFactorRelation, TDynamicFactorRelation >.

Definition at line 167 of file DynamicRelations.H.

References std::set< TDynamicFactorRelation, TDynamicFactorRelation >::size().

Referenced by statistical_data::StatusReport(), and statistical_data::XML_StatusReport().

Here is the call graph for this function:

const int CServerDynamicFactorRelations::operator[] ( const int  i  )  [inline]

Definition at line 168 of file DynamicRelations.H.

References DynamicFactorList, CMutex::lock(), monitor_mutex, and CMutex::unlock().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class Cprocess_clients [friend]

Definition at line 178 of file DynamicRelations.H.

void fillin_streampos ( TDynamicFactorRelation x  )  [friend]

Definition at line 188 of file DynamicRelations.H.

bool is_dynamic_factor ( const int  number  )  [friend]

Definition at line 200 of file DynamicRelations.H.

bool is_dynamic_factor ( TDynamicFactorRelation FaRelSearch  )  [friend]

Definition at line 215 of file DynamicRelations.H.


Member Data Documentation

CMutex CServerDynamicFactorRelations::monitor_mutex [mutable, private]

Definition at line 126 of file DynamicRelations.H.

Referenced by insert(), monitoredSize(), and operator[]().

CMutex CServerDynamicFactorRelations::SLP_mutex [mutable, private]

Definition at line 126 of file DynamicRelations.H.

Referenced by insert(), and Cprocess_clients::process_data_stream().

vector<int> CServerDynamicFactorRelations::DynamicFactorList [private]

Definition at line 127 of file DynamicRelations.H.

Referenced by insert(), monitoredSize(), and operator[]().

int CServerDynamicFactorRelations::size_active_SLP [private]

Definition at line 128 of file DynamicRelations.H.

Referenced by insert(), and size_active().

int CServerDynamicFactorRelations::size_passive_SLP [private]

Definition at line 128 of file DynamicRelations.H.

Referenced by insert(), and size_passive().


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 23:31:30 2007 for Qsieve by  doxygen 1.5.4