AgentX++  2.0.5
agentpp_agentx_mib.h
Go to the documentation of this file.
1 /*_############################################################################
2  _##
3  _## agentpp_agentx_mib.h
4  _##
5  _##
6  _## AgentX++ 2
7  _## -------------------------------------
8  _## Copyright (C) 2000-2013 - Frank Fock
9  _##
10  _## Use of this software is subject to the license agreement you received
11  _## with this software and which can be downloaded from
12  _## http://www.agentpp.com
13  _##
14  _## This is licensed software and may not be used in a commercial
15  _## environment, except for evaluation purposes, unless a valid
16  _## license has been purchased.
17  _##
18  _##########################################################################*/
19 
20 
21 //--AgentGen BEGIN=_BEGIN
22 //--AgentGen END
23 
24 #ifndef _agentpp_agentx_mib_h
25 #define _agentpp_agentx_mib_h
26 
27 #include <agent_pp/mib.h>
28 #include <agent_pp/mib_complex_entry.h>
29 #include <agent_pp/snmp_textual_conventions.h>
30 #include <agent_pp/notification_originator.h>
31 
32 
33 // Scalars
34 #define oidAgentppAgentXExtSrcAddrValidation "1.3.6.1.4.1.4976.3.1.2.2.1.0"
35 
36 // Columns
37 #define oidAgentppAgentXExtSrcAddrTag "1.3.6.1.4.1.4976.3.1.2.2.2.1.2"
38 #define colAgentppAgentXExtSrcAddrTag "2"
39 #define oidAgentppAgentXExtSrcAddrRowStatus "1.3.6.1.4.1.4976.3.1.2.2.2.1.3"
40 #define colAgentppAgentXExtSrcAddrRowStatus "3"
41 
42 
43 // Tables
44 #define oidAgentppAgentXExtSrcAddrEntry "1.3.6.1.4.1.4976.3.1.2.2.2.1"
45 #define nAgentppAgentXExtSrcAddrTag 0
46 #define cAgentppAgentXExtSrcAddrTag 2
47 #define nAgentppAgentXExtSrcAddrRowStatus 1
48 #define cAgentppAgentXExtSrcAddrRowStatus 3
49 
50 
51 // Notifications
52 
53 //--AgentGen BEGIN=_INCLUDE
54 #include "agentx_def.h"
55 //--AgentGen END
56 
57 #ifdef AGENTPP_NAMESPACE
58 namespace Agentpp {
59 #endif
60 
61 
62 // Scalar Objects
63 
64 
65 
88 {
89 
90 public:
93 
95 
96  virtual long get_state();
97  virtual void set_state(long);
98  virtual int prepare_set_request(Request*, int&);
99  enum labels {
100  e_enabled = 1,
101  e_disabled = 2 };
102 
103 //--AgentGen BEGIN=agentppAgentXExtSrcAddrValidation
104 //--AgentGen END
105 };
106 
107 
108 // Columnar Objects
109 
110 
111 
125 {
126 
127 public:
128  agentppAgentXExtSrcAddrTag(const Oidx&);
129  virtual ~agentppAgentXExtSrcAddrTag();
130 
131  virtual MibEntryPtr clone();
132  virtual NS_SNMP OctetStr get_state();
133  virtual int prepare_set_request(Request*, int&);
134 
135 //--AgentGen BEGIN=agentppAgentXExtSrcAddrTag
136 //--AgentGen END
137 };
138 
139 
140 
141 
152 {
153 
154 public:
157 
158  virtual MibEntryPtr clone();
159  virtual long get_state();
160  virtual int prepare_set_request(Request*, int&);
161  enum labels {
162  e_active = 1,
163  e_notInService = 2,
164  e_notReady = 3,
165  e_createAndGo = 4,
166  e_createAndWait = 5,
167  e_destroy = 6 };
168 
169 //--AgentGen BEGIN=agentppAgentXExtSrcAddrRowStatus
170 //--AgentGen END
171 };
172 
173 
174 // Tables
175 
176 
191 {
192 
193 public:
195  virtual ~agentppAgentXExtSrcAddrEntry();
196 
198 
199  virtual int prepare_set_request(Request*, int&);
200  virtual void row_activated(MibTableRow*, const Oidx&, MibTable*);
201  virtual void row_deactivated(MibTableRow*, const Oidx&, MibTable*);
202 //--AgentGen BEGIN=agentppAgentXExtSrcAddrEntry
203 //--AgentGen END
204 };
205 
206 // Notifications
207 #ifdef _SNMPv3
208 #endif
209 
210 // Group
211 
212 class AGENTXPP_DECL agentpp_agentx_mib: public MibGroup
213 {
214  public:
216  virtual ~agentpp_agentx_mib() { }
217 //--AgentGen BEGIN=agentpp_agentx_mib
218 //--AgentGen END
219 };
220 
221 
222 #ifdef AGENTPP_NAMESPACE
223 }
224 #endif
225 
226 
227 //--AgentGen BEGIN=_END
228 //--AgentGen END
229 
230 #endif