tnt::Sessionscope Class Reference

#include <tnt/sessionscope.h>

Inheritance diagram for tnt::Sessionscope:
tnt::Scope cxxtools::AtomicRefCounted

Public Member Functions

 Sessionscope ()
void touch ()
time_t getAtime () const
cxxtools::Seconds getTimeout () const
void setTimeout (cxxtools::Seconds t)
- Public Member Functions inherited from tnt::Scope
 Scope ()
virtual ~Scope ()
void lock ()
void unlock ()
bool has (const std::string &key) const
template<typename T >
T * get (const std::string &key)
template<typename T , template< class > class destroyPolicy>
void put (const std::string &key, T *o)
 Put new Object in scope.
template<typename T >
void put (const std::string &key, T *o)
template<typename T >
void put (const std::string &key, T *o, bool transferOwnership)
void erase (const std::string &key)
bool empty () const
void clear ()
const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()
- Public Member Functions inherited from cxxtools::AtomicRefCounted
 AtomicRefCounted ()
 AtomicRefCounted (unsigned refs_)
virtual ~AtomicRefCounted ()
virtual atomic_t addRef ()
virtual atomic_t release ()
atomic_t refs () const

Additional Inherited Members

- Public Types inherited from tnt::Scope
typedef Object::pointer_type pointer_type
typedef
container_type::const_iterator 
const_iterator
typedef container_type::iterator iterator
typedef container_type::value_type value_type

Constructor & Destructor Documentation

tnt::Sessionscope::Sessionscope ( )
inline

Member Function Documentation

time_t tnt::Sessionscope::getAtime ( ) const
inline
cxxtools::Seconds tnt::Sessionscope::getTimeout ( ) const
inline
void tnt::Sessionscope::setTimeout ( cxxtools::Seconds  t)
inline
void tnt::Sessionscope::touch ( )
inline

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