OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
query_state::Timer Class Reference

#include <QueryState.h>

Public Member Functions

 Timer (std::shared_ptr< QueryState > &&, Events::iterator event)
 
 Timer (Timer const &)=delete
 
Timeroperator= (Timer const &)=delete
 
 Timer (Timer &&)=default
 
Timeroperator= (Timer &&)=default
 
 ~Timer ()
 
QueryStateProxy createQueryStateProxy ()
 

Private Attributes

std::shared_ptr< QueryStatequery_state_
 
Events::iterator event_
 

Detailed Description

Definition at line 208 of file QueryState.h.

Constructor & Destructor Documentation

query_state::Timer::Timer ( std::shared_ptr< QueryState > &&  query_state,
Events::iterator  event 
)

Definition at line 128 of file QueryState.cpp.

129  : query_state_(std::move(query_state)), event_(event) {}
std::shared_ptr< QueryState > query_state_
Definition: QueryState.h:209
Events::iterator event_
Definition: QueryState.h:210
query_state::Timer::Timer ( Timer const )
delete
query_state::Timer::Timer ( Timer &&  )
default
query_state::Timer::~Timer ( )

Definition at line 135 of file QueryState.cpp.

References event_.

135  {
136  event_->stop();
137 }
Events::iterator event_
Definition: QueryState.h:210

Member Function Documentation

QueryStateProxy query_state::Timer::createQueryStateProxy ( )

Definition at line 131 of file QueryState.cpp.

References event_, and query_state_.

Referenced by DBHandler::parse_to_ra().

131  {
132  return query_state_->createQueryStateProxy(event_);
133 }
std::shared_ptr< QueryState > query_state_
Definition: QueryState.h:209
Events::iterator event_
Definition: QueryState.h:210

+ Here is the caller graph for this function:

Timer& query_state::Timer::operator= ( Timer const )
delete
Timer& query_state::Timer::operator= ( Timer &&  )
default

Member Data Documentation

Events::iterator query_state::Timer::event_
private

Definition at line 210 of file QueryState.h.

Referenced by createQueryStateProxy(), and ~Timer().

std::shared_ptr<QueryState> query_state::Timer::query_state_
private

Definition at line 209 of file QueryState.h.

Referenced by createQueryStateProxy().


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