ScanMonitorWrapper Class Reference

The class ScanMonitorWrapper is designed to look externally like a SctApi::ScanMonitor (i.e. More...

#include <ScanMonitorWrapper.h>

Inheritance diagram for ScanMonitorWrapper:

Inheritance graph
[legend]
Collaboration diagram for ScanMonitorWrapper:

Collaboration graph
[legend]

Public Types

typedef enum ScanMonitorWrapper::MemoryPolicy_enum MemoryPolicy
enum  MemoryPolicy_enum { takeOwnershipOfObjectReference, doNotTakeOwnershipOfObjectReference }

Public Member Functions

boost::shared_ptr< SctApi::ScanMonitorgetMonitor ()
 ScanMonitorWrapper (const WorkerType &w, const MemoryPolicy memoryPolicy)
virtual ~ScanMonitorWrapper ()
char * status ()

Static Public Member Functions

static TScanMonitorcreateMonitor (boost::shared_ptr< SctApi::ScanMonitor > monitor)

Data Fields

boost::shared_ptr< SctApi::ScanMonitorworker

Private Types

typedef Sct_SctApi::ScanMonitor_ptr WorkerType

Private Member Functions

const WorkerType worker () const
WorkerType worker ()

Private Attributes

const MemoryPolicy m_memoryPolicy
WorkerType m_worker

Friends

class TApi

Detailed Description

The class ScanMonitorWrapper is designed to look externally like a SctApi::ScanMonitor (i.e.

implement the SctApi::ScanMonitor interface) while actually just passing all these calls through to a CORBA trigger object, which is itself internally implemented by a "standard" SctApi trigger object!

This class DOES NOT OWN the object reference which it is constructed with! An alternative strategy could be developed ...

Author:
Christopher Lester

Definition at line 33 of file TApiWrappers.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:01:59 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6