Onsens  1.0
This is C++ game about bitwise logic.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
priv::ThreadFunctorWithArg< F, A > Struct Template Reference
+ Inheritance diagram for priv::ThreadFunctorWithArg< F, A >:
+ Collaboration diagram for priv::ThreadFunctorWithArg< F, A >:

Public Member Functions

 ThreadFunctorWithArg (F function, A arg)
 
virtual void run ()
 
- Public Member Functions inherited from priv::ThreadFunc
virtual ~ThreadFunc ()
 
virtual void run ()=0
 

Public Attributes

m_function
 
m_arg
 

Detailed Description

template<typename F, typename A>
struct priv::ThreadFunctorWithArg< F, A >

Definition at line 45 of file Thread.inl.

Constructor & Destructor Documentation

◆ ThreadFunctorWithArg()

template<typename F , typename A >
priv::ThreadFunctorWithArg< F, A >::ThreadFunctorWithArg ( function,
arg 
)
inline

Definition at line 47 of file Thread.inl.

Member Function Documentation

◆ run()

template<typename F , typename A >
virtual void priv::ThreadFunctorWithArg< F, A >::run ( )
inlinevirtual

Implements priv::ThreadFunc.

Definition at line 48 of file Thread.inl.

Member Data Documentation

◆ m_arg

template<typename F , typename A >
A priv::ThreadFunctorWithArg< F, A >::m_arg

Definition at line 50 of file Thread.inl.

◆ m_function

template<typename F , typename A >
F priv::ThreadFunctorWithArg< F, A >::m_function

Definition at line 49 of file Thread.inl.


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