PSEvt::DataProxy< T > Class Template Reference
[PSEvt package]

Implementation of proxy object which keeps a pointer to real object. More...

#include <DataProxy.h>

Inheritance diagram for PSEvt::DataProxy< T >:

PSEvt::Proxy< T > PSEvt::ProxyI List of all members.

Public Member Functions

 DataProxy (const boost::shared_ptr< T > &data)
 Constructor takes a smart pointer to the data object.
virtual ~DataProxy ()

Protected Member Functions

virtual boost::shared_ptr< T > getTypedImpl (ProxyDictI *dict, const Pds::Src &source, const std::string &key)
 Get the data object from the proxy.

Detailed Description

template<typename T>
class PSEvt::DataProxy< T >

Implementation of proxy object which keeps a pointer to real object.

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

See also:
Proxy
Version:
$Id: DataProxy.h 1840 2011-05-07 01:48:35Z salnikov $
Author:
Andy Salnikov

Definition at line 58 of file DataProxy.h.


Constructor & Destructor Documentation

template<typename T>
PSEvt::DataProxy< T >::DataProxy ( const boost::shared_ptr< T > &  data  )  [inline]

Constructor takes a smart pointer to the data object.

Definition at line 62 of file DataProxy.h.

template<typename T>
virtual PSEvt::DataProxy< T >::~DataProxy (  )  [inline, virtual]

Definition at line 65 of file DataProxy.h.


Member Function Documentation

template<typename T>
virtual boost::shared_ptr<T> PSEvt::DataProxy< T >::getTypedImpl ( ProxyDictI dict,
const Pds::Src &  source,
const std::string &  key 
) [inline, protected, virtual]

Get the data object from the proxy.

Parameters:
[in] dict Proxy dictionary containing this proxy.
[in] source Detector address information
[in] key String key, additional key supplied by user.
Returns:
Shared pointer to the data object passed to the constructor.

Implements PSEvt::Proxy< T >.

Definition at line 77 of file DataProxy.h.


The documentation for this class was generated from the following file:
Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7