blob: 57f00db326576414700467d47afed854a8bb4ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
#ifndef __INITSVC_TASK_TEST_2_H
#define __INITSVC_TASK_TEST_2_H
/**
* @file initsvctasktest2.H
*
*/
/******************************************************************************/
// Includes
/******************************************************************************/
#include <stdint.h>
#include <kernel/console.H> // printk
#include <util/singleton.H>
namespace INITSVCTASKTEST2
{
/******************************************************************************/
// Globals/Constants
/******************************************************************************/
/******************************************************************************/
// Typedef/Enumerations
/******************************************************************************/
/******************************************************************************/
// InitService Class
/******************************************************************************/
// Singleton definition
class InitSvcTaskTest2;
typedef Singleton<InitSvcTaskTest2> theTask2;
/**
* @class InitSvcTestTask2 Class
*
* test module launched
*/
class InitSvcTaskTest2
{
public:
/**
* @brief Constructor for the InitService object.
*/
InitSvcTaskTest2()
{ }
/**
* @brief Destructor for the InitService object.
*/
~InitSvcTaskTest2()
{ }
/**
* @brief Get singleton instance of this class.
*
* @return the (one and only) instance of InitService
*/
static InitSvcTaskTest2& getTheInstance();
/**
* @brief Provide an entry function into the class, called from _start()
*
* @param[in] i_args pointer to any arguments passed in from
* _start() and by extension the kernel,
* currently this is NULL .
*
* @todo document any changes for args
*/
void init( void *i_args);
private:
}; // class InitSvcTaskTest2
} // namespace INITSVCTASKTEST2
#endif
|