Newer
Older
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/*----- PROTECTED REGION ID(AccessConfStateMachine.cpp) ENABLED START -----*/
//=============================================================================
//
// file : AccessConfStateMachine.cpp
//
// description : C++ source for the �name� and its alowed
// methods for commands and attributes
//
// project : Storage Ring Access.
//
// $Author: graziano $
//
// $Revision: 1.1 $
// $Date: 2012-10-30 09:29:15 $
//
// SVN only:
// $HeadURL: $
//
// CVS only:
// $Source: /home/cvsadm/cvsroot/fermi/servers/accessconf/src/AccessConfStateMachine.cpp,v $
// $Log: AccessConfStateMachine.cpp,v $
// Revision 1.1 2012-10-30 09:29:15 graziano
// *** empty log message ***
//
//
//
//=============================================================================
// This file is generated by POGO
// (Program Obviously used to Generate tango Object)
//=============================================================================
#include <AccessConf.h>
#include <AccessConfClass.h>
/*----- PROTECTED REGION END -----*/
/*
* AccessConf states description:
*
*/
namespace AccessConf_ns
{
//=================================================
// Attributes Allowed Methods
//=================================================
//--------------------------------------------------------
/**
* Method : AccessConf::is_Version_allowed()
* Description : Execution allowed for Version attribute.
*/
//--------------------------------------------------------
bool AccessConf::is_Version_allowed(Tango::AttReqType type)
{
// Not any excluded states for Version attribute in READ access.
/*----- PROTECTED REGION ID(AccessConf::read_VersionAllowed_READ) ENABLED START -----*/
/*----- PROTECTED REGION END -----*/ // AccessConf::read_VersionAllowed_READ
return true;
}
//--------------------------------------------------------
/**
* Method : AccessConf::is_BoolScalarDynState_allowed()
* Description : Execution allowed for BoolScalarDyn attribute.
*/
//--------------------------------------------------------
bool AccessConf::is_BoolScalarDyn_allowed(Tango::AttReqType type)
{
// Not any excluded states for BoolScalarDyn attribute in READ access.
/*----- PROTECTED REGION ID(AccessConf::read_BoolScalarDynStateAllowed_READ) ENABLED START -----*/
/*----- PROTECTED REGION END -----*/ // AccessConf::read_BoolScalarDynStateAllowed_READ
return true;
}
//--------------------------------------------------------
/**
* Method : AccessConf::is_BoolSpectrumDynState_allowed()
* Description : Execution allowed for BoolSpectrumDyn attribute.
*/
//--------------------------------------------------------
bool AccessConf::is_BoolSpectrumDyn_allowed(Tango::AttReqType type)
{
// Not any excluded states for BoolSpectrumDyn attribute in READ access.
/*----- PROTECTED REGION ID(AccessConf::read_BoolSpectrumDynStateAllowed_READ) ENABLED START -----*/
/*----- PROTECTED REGION END -----*/ // AccessConf::read_BoolSpectrumDynStateAllowed_READ
return true;
}
//--------------------------------------------------------
/**
* Method : AccessConf::is_StringSpectrumDynState_allowed()
* Description : Execution allowed for StringSpectrumDyn attribute.
*/
//--------------------------------------------------------
bool AccessConf::is_StringSpectrumDyn_allowed(Tango::AttReqType type)
{
// Not any excluded states for StringSpectrumDyn attribute in READ access.
/*----- PROTECTED REGION ID(AccessConf::read_StringSpectrumDynStateAllowed_READ) ENABLED START -----*/
/*----- PROTECTED REGION END -----*/ // AccessConf::read_StringSpectrumDynStateAllowed_READ
return true;
}
/*----- PROTECTED REGION ID(AccessConf::are_dynamic_attributes_allowed) ENABLED START -----*/
// Add your code to check if dynamic attributes are alowed
/*----- PROTECTED REGION END -----*/ // AccessConf::are_dynamic_attributes_allowed
//=================================================
// Commands Allowed Methods
//=================================================
/*----- PROTECTED REGION ID(AccessConf::are_dynamic_commands_allowed) ENABLED START -----*/
// Add your code to check if dynamic commands are alowed
/*----- PROTECTED REGION END -----*/ // AccessConf::are_dynamic_commands_allowed
} // namespace AccessConf_ns