smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Types | Public Member Functions | Protected Member Functions | Private Attributes
tunnelled_device< BaseDev, TunnelDev > Class Template Reference

Implement a device by tunneling through another device. More...

#include <dev_tunnelled.h>

Collaboration diagram for tunnelled_device< BaseDev, TunnelDev >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TunnelDev tunnel_device_type

Public Member Functions

virtual void release (const smart_device *dev)
 Release ownership of other device.
tunnel_device_typeget_tunnel_dev ()
const tunnel_device_typeget_tunnel_dev () const

Protected Member Functions

 tunnelled_device (tunnel_device_type *tunnel_dev)

Private Attributes

tunnel_device_typem_tunnel_dev

Detailed Description

template<class BaseDev, class TunnelDev>
class tunnelled_device< BaseDev, TunnelDev >

Implement a device by tunneling through another device.

Definition at line 60 of file dev_tunnelled.h.


Member Typedef Documentation

template<class BaseDev, class TunnelDev>
typedef TunnelDev tunnelled_device< BaseDev, TunnelDev >::tunnel_device_type

Definition at line 65 of file dev_tunnelled.h.


Constructor & Destructor Documentation

template<class BaseDev, class TunnelDev>
tunnelled_device< BaseDev, TunnelDev >::tunnelled_device ( tunnel_device_type tunnel_dev) [inline, explicit, protected]

Definition at line 68 of file dev_tunnelled.h.


Member Function Documentation

template<class BaseDev, class TunnelDev>
tunnel_device_type* tunnelled_device< BaseDev, TunnelDev >::get_tunnel_dev ( ) [inline]

Definition at line 82 of file dev_tunnelled.h.

template<class BaseDev, class TunnelDev>
const tunnel_device_type* tunnelled_device< BaseDev, TunnelDev >::get_tunnel_dev ( ) const [inline]

Definition at line 85 of file dev_tunnelled.h.

template<class BaseDev, class TunnelDev>
virtual void tunnelled_device< BaseDev, TunnelDev >::release ( const smart_device dev) [inline, virtual]

Release ownership of other device.

Default implementation does nothing.

Reimplemented from tunnelled_device_base.

Definition at line 75 of file dev_tunnelled.h.


Member Data Documentation

template<class BaseDev, class TunnelDev>
tunnel_device_type* tunnelled_device< BaseDev, TunnelDev >::m_tunnel_dev [private]

Definition at line 89 of file dev_tunnelled.h.


The documentation for this class was generated from the following file: