ANNA Suite
2020b
Multipurpose development suite for Telco applications
include
anna
test
Menu.hpp
Go to the documentation of this file.
1
// ANNA - Anna is Not Nothingness Anymore //
2
// //
3
// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4
// //
5
// See project site at http://redmine.teslayout.com/projects/anna-suite //
6
// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9
#ifndef anna_test_Menu_hpp
10
#define anna_test_Menu_hpp
11
12
#include <
anna/comm/Handler.hpp
>
13
14
namespace
anna
{
15
namespace
comm {
16
class
SchedulerGuard;
17
}
18
}
19
20
21
namespace
test
{
22
23
class
Menu
:
public
anna::comm::Handler
{
24
public
:
25
static
const
char
*
EventData
;
26
27
struct
Data
{
28
char
a_operation
;
29
int
a_op1
;
30
int
a_op2
;
31
};
32
33
Menu
(
anna::comm::Communicator
*);
34
35
void
paint ()
const
;
36
37
private
:
38
Data
a_data;
39
int
a_status;
40
41
void
initialize () noexcept(false) {;}
42
void
apply () noexcept(false);
43
void
finalize () {;}
44
45
};
46
47
}
48
49
#endif
50
test::Menu
Definition:
Menu.hpp:23
anna::comm::Communicator
Definition:
Communicator.hpp:79
test::Menu::Data::a_op2
int a_op2
Definition:
Menu.hpp:30
test::Menu::EventData
static const char * EventData
Definition:
Menu.hpp:25
test
Definition:
Communicator.hpp:14
test::Menu::Data::a_operation
char a_operation
Definition:
Menu.hpp:28
test::Menu::Data::a_op1
int a_op1
Definition:
Menu.hpp:29
Handler.hpp
anna
Definition:
app.hpp:12
test::Menu::Data
Definition:
Menu.hpp:27
anna::comm::Handler
Definition:
Handler.hpp:33
Generated on Mon Oct 30 2023 12:15:34 for ANNA Suite by
1.8.13