Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

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)
char * status ()

Static Public Member Functions

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 Thu Dec 22 20:17:30 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5