Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chainbase::session_impl< SessionType > Class Template Reference

#include <chainbase.hpp>

Inheritance diagram for chainbase::session_impl< SessionType >:
Collaboration diagram for chainbase::session_impl< SessionType >:

Public Member Functions

 session_impl (SessionType &&s)
 
virtual void push () override
 
virtual void squash () override
 
virtual void undo () override
 
- Public Member Functions inherited from chainbase::abstract_session
virtual ~abstract_session ()
 

Detailed Description

template<typename SessionType>
class chainbase::session_impl< SessionType >

Definition at line 147 of file chainbase.hpp.

Constructor & Destructor Documentation

◆ session_impl()

template<typename SessionType >
chainbase::session_impl< SessionType >::session_impl ( SessionType && s)
inline

Definition at line 150 of file chainbase.hpp.

150:_session( std::move( s ) ){}
char * s

Member Function Documentation

◆ push()

template<typename SessionType >
virtual void chainbase::session_impl< SessionType >::push ( )
inlineoverridevirtual

Implements chainbase::abstract_session.

Definition at line 152 of file chainbase.hpp.

152{ _session.push(); }

◆ squash()

template<typename SessionType >
virtual void chainbase::session_impl< SessionType >::squash ( )
inlineoverridevirtual

Implements chainbase::abstract_session.

Definition at line 153 of file chainbase.hpp.

153{ _session.squash(); }

◆ undo()

template<typename SessionType >
virtual void chainbase::session_impl< SessionType >::undo ( )
inlineoverridevirtual

Implements chainbase::abstract_session.

Definition at line 154 of file chainbase.hpp.

154{ _session.undo(); }

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