Home / Open source / Terimber 2.0
proto_creator< C, T, A > Class Template Referencebase proto class for creators
More...
#include <proto.h>
List of all members.
|
Public Types |
typedef T | TYPE |
| object type
|
typedef A | ARG |
| argument type
|
Static Public Member Functions |
static C & | static_constructor () |
| returns static constructor
|
static const A & | get_default_arg () |
| returns static defualt argument
|
static size_t | get_default_timeout () |
| returns static default timeout
|
static T * | create (const A &) |
| creates object
|
static void | activate (T *, const A &) |
| activates object nothing to do
|
static bool | find (T *, const A &) |
| finds object - all objects are equal
|
static void | back (T *, const A &) |
| backing object - nothing to do
|
static void | destroy (T *obj, const A &) |
| destroys object
|
static void | deactivate (T *, const A &) |
| deactivates object - nothing to do
|
Static Private Attributes |
static A | s_def_arg |
| default static argument
|
static C | s_constructor |
| default static constructor
|
Detailed Description
template<class C, class T, class A>
class proto_creator< C, T, A >
base proto class for creators
Definition at line 37 of file proto.h.
Member Typedef Documentation
template<class C, class T, class A>
object type
Definition at line 42 of file proto.h.
template<class C, class T, class A>
argument type
Definition at line 45 of file proto.h.
Member Function Documentation
template<class C, class T, class A>
static C& proto_creator< C, T, A >::static_constructor |
( |
|
) |
[inline, static] |
returns static constructor
Definition at line 49 of file proto.h.
template<class C, class T, class A>
static const A& proto_creator< C, T, A >::get_default_arg |
( |
|
) |
[inline, static] |
returns static defualt argument
Definition at line 56 of file proto.h.
template<class C, class T, class A>
static size_t proto_creator< C, T, A >::get_default_timeout |
( |
|
) |
[inline, static] |
returns static default timeout
Definition at line 63 of file proto.h.
template<class C, class T, class A>
static T* proto_creator< C, T, A >::create |
( |
const A & |
|
) |
[inline, static] |
template<class C, class T, class A>
static void proto_creator< C, T, A >::activate |
( |
T * |
, |
|
|
const A & |
| |
|
) |
| | [inline, static] |
template<class C, class T, class A>
static bool proto_creator< C, T, A >::find |
( |
T * |
, |
|
|
const A & |
| |
|
) |
| | [inline, static] |
template<class C, class T, class A>
static void proto_creator< C, T, A >::back |
( |
T * |
, |
|
|
const A & |
| |
|
) |
| | [inline, static] |
template<class C, class T, class A>
static void proto_creator< C, T, A >::destroy |
( |
T * |
obj, |
|
|
const A & |
| |
|
) |
| | [inline, static] |
template<class C, class T, class A>
static void proto_creator< C, T, A >::deactivate |
( |
T * |
, |
|
|
const A & |
| |
|
) |
| | [inline, static] |
Member Data Documentation
template<class C, class T, class A>
template<class C, class T, class A>
The documentation for this class was generated from the following file:
|
|