SAGA Adaptor CPI v.1.0
adaptor_suite_data< Adaptor, Adaptor_Suite > Class Template Reference

#include <adaptor_suite_data.hpp>

Inheritance diagram for adaptor_suite_data< Adaptor, Adaptor_Suite >:

List of all members.

Public Types

typedef Adaptor_Suite adaptor_type

Public Member Functions

template<typename Cpi >
 adaptor_suite_data (Cpi *cpi_instance)
 ~adaptor_suite_data (void)
Adaptor_Suite * operator-> () const

Detailed Description

template<typename Adaptor, typename Adaptor_Suite>
class adaptor_suite_data< Adaptor, Adaptor_Suite >

namespace saga { namespace adaptors { /** Class implementing the scoped_lock pattern for the adaptor_suite_data

Note:
If you want to use shared data which had been registered in the adaptor_suite_data instance in the session, just create an instance of this class at the beginning of the scope you will use the shared data in by specifying its id.

Definition at line 31 of file adaptor_suite_data.hpp.


Member Typedef Documentation

template<typename Adaptor , typename Adaptor_Suite >
typedef Adaptor_Suite adaptor_suite_data< Adaptor, Adaptor_Suite >::adaptor_type

Definition at line 40 of file adaptor_suite_data.hpp.


Constructor & Destructor Documentation

template<typename Adaptor , typename Adaptor_Suite >
template<typename Cpi >
adaptor_suite_data< Adaptor, Adaptor_Suite >::adaptor_suite_data ( Cpi *  cpi_instance) [inline]

Constructor: Here we lock the appropriate object identified by id

Parameters:
idthe identifier for the object you want to lock.
Note:
The object you want to lock has to be registered in the current session before.

Definition at line 50 of file adaptor_suite_data.hpp.

template<typename Adaptor , typename Adaptor_Suite >
adaptor_suite_data< Adaptor, Adaptor_Suite >::~adaptor_suite_data ( void  ) [inline]

Destructor: unlocks the object.

Definition at line 60 of file adaptor_suite_data.hpp.


Member Function Documentation

template<typename Adaptor , typename Adaptor_Suite >
Adaptor_Suite* adaptor_suite_data< Adaptor, Adaptor_Suite >::operator-> ( ) const [inline]

Definition at line 69 of file adaptor_suite_data.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines