xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Events::MainThreadFunctor< void > Struct Template Reference

Template specialization for a MainThreadFunctor returning void. More...

#include <types.h>

Public Member Functions

 MainThreadFunctor (const boost::function< void()> &f)
 
void operator() () const
 
void getReturnValue () const
 
const Common::ExceptiongetError () const
 

Private Attributes

boost::function< void()> func
 
boost::shared_ptr< Common::Exceptionerror
 

Detailed Description

template<>
struct Events::MainThreadFunctor< void >

Template specialization for a MainThreadFunctor returning void.

Definition at line 323 of file types.h.

Constructor & Destructor Documentation

◆ MainThreadFunctor()

Events::MainThreadFunctor< void >::MainThreadFunctor ( const boost::function< void()> &  f)
inline

Definition at line 329 of file types.h.

Member Function Documentation

◆ getError()

const Common::Exception& Events::MainThreadFunctor< void >::getError ( ) const
inline

Definition at line 343 of file types.h.

References Events::MainThreadFunctor< T >::error.

◆ getReturnValue()

void Events::MainThreadFunctor< void >::getReturnValue ( ) const
inline

Definition at line 342 of file types.h.

◆ operator()()

void Events::MainThreadFunctor< void >::operator() ( ) const
inline

Member Data Documentation

◆ error

boost::shared_ptr<Common::Exception> Events::MainThreadFunctor< void >::error
private

Definition at line 326 of file types.h.

◆ func

boost::function<void ()> Events::MainThreadFunctor< void >::func
private

Definition at line 325 of file types.h.


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