CMS 3D CMS Logo

Classes | Typedefs | Functions

smproxy Namespace Reference

Classes

struct  AlarmParams
class  AllOk
class  Configuration
class  Configure
class  Configuring
class  ConfiguringDone
struct  ConnectionID
class  Constructed
class  DataManager
class  DataRetrieverMonitorCollection
struct  DataRetrieverParams
class  DQMArchiver
struct  DQMArchivingParams
class  DQMEventMsg
class  Enable
class  Enabled
class  EventMsg
class  EventRetriever
class  Fail
class  Failed
class  Halt
class  Halted
class  Halting
class  HaltingDone
struct  QueueConfigurationParams
class  Ready
class  Running
class  SMProxyServer
class  SMPSWebPageHelper
class  Starting
class  StartingDone
class  State
class  StateMachine
struct  StateName
class  StatisticsReporter
class  Stop
class  Stopping
class  StoppingDone

Typedefs

typedef boost::shared_ptr
< Configuration
ConfigurationPtr
typedef boost::shared_ptr
< DataManager
DataManagerPtr
typedef stor::QueueCollection
< EventMsg
EventQueueCollection
typedef boost::shared_ptr
< EventQueueCollection
EventQueueCollectionPtr
typedef boost::shared_ptr
< StateMachine
StateMachinePtr
typedef boost::shared_ptr
< StatisticsReporter
StatisticsReporterPtr

Functions

std::ostream & operator<< (std::ostream &os, ConnectionID id)
std::ostream & operator<< (std::ostream &, const DataRetrieverMonitorCollection::ConnectionStatus &)

Typedef Documentation

typedef boost::shared_ptr<Configuration> smproxy::ConfigurationPtr

Definition at line 229 of file Configuration.h.

typedef boost::shared_ptr<DataManager> smproxy::DataManagerPtr

Definition at line 107 of file DataManager.h.

A collection of ConcurrentQueue<EventMsgSharedPtr>.

Author:
mommsen
Revision:
1.2
Date:
2011/03/07 15:41:54

Definition at line 22 of file EventQueueCollection.h.

Definition at line 23 of file EventQueueCollection.h.

typedef boost::shared_ptr<StateMachine> smproxy::StateMachinePtr

Definition at line 144 of file StateMachine.h.

Definition at line 135 of file StatisticsReporter.h.


Function Documentation

std::ostream& smproxy::operator<< ( std::ostream &  os,
ConnectionID  id 
) [inline]

Definition at line 65 of file ConnectionID.h.

  {
    return os << id.value;
  }
std::ostream & smproxy::operator<< ( std::ostream &  os,
const DataRetrieverMonitorCollection::ConnectionStatus &  status 
)

Definition at line 483 of file DataRetrieverMonitorCollection.cc.

References smproxy::DataRetrieverMonitorCollection::CONNECTED, smproxy::DataRetrieverMonitorCollection::CONNECTION_FAILED, smproxy::DataRetrieverMonitorCollection::DISCONNECTED, and smproxy::DataRetrieverMonitorCollection::UNKNOWN.

{
  switch (status)
  {
    case DataRetrieverMonitorCollection::CONNECTED :
      os << "Connected";
      break;
    case DataRetrieverMonitorCollection::CONNECTION_FAILED :
      os << "Could not connect. SM not running?";
      break;
    case DataRetrieverMonitorCollection::DISCONNECTED :
      os << "Lost connection to SM. Did it fail?";
      break;
    case DataRetrieverMonitorCollection::UNKNOWN :
      os << "unknown";
      break;
  }
  
  return os;
}