AGENT++  4.0.3
agentpp_simulation_mib.h
Go to the documentation of this file.
1 /*_############################################################################
2  _##
3  _## AGENT++ 4.0 - agentpp_simulation_mib.h
4  _##
5  _## Copyright (C) 2000-2013 Frank Fock and Jochen Katz (agentpp.com)
6  _##
7  _## Licensed under the Apache License, Version 2.0 (the "License");
8  _## you may not use this file except in compliance with the License.
9  _## You may obtain a copy of the License at
10  _##
11  _## http://www.apache.org/licenses/LICENSE-2.0
12  _##
13  _## Unless required by applicable law or agreed to in writing, software
14  _## distributed under the License is distributed on an "AS IS" BASIS,
15  _## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  _## See the License for the specific language governing permissions and
17  _## limitations under the License.
18  _##
19  _##########################################################################*/
20 
21 
22 #ifndef _agentpp_simulation_mib_h
23 #define _agentpp_simulation_mib_h
24 
25 #include <agent_pp/agent++.h>
26 #include <agent_pp/mib.h>
28 
29 #define oidAgentppSimMode "1.3.6.1.4.1.4976.2.1.1.0"
30 #define oidAgentppSimDeleteRow "1.3.6.1.4.1.4976.2.1.2.0"
31 #define oidAgentppSimDeleteTableContents "1.3.6.1.4.1.4976.2.1.3.0"
32 
33 #ifdef AGENTPP_NAMESPACE
34 namespace Agentpp {
35 #endif
36 
49 
50  public:
52  virtual ~agentppSimMode();
53 
55 
56  virtual long get_state();
57  virtual void set_state(long);
58  virtual int set(const Vbx&);
59  virtual bool value_ok(const Vbx&);
60  virtual void init(NS_SNMP SnmpSyntax*, int);
61 };
62 
80 
81 public:
83  virtual ~agentppSimDeleteRow();
84 
86 
87  virtual int commit_set_request(Request*, int);
88  virtual int prepare_set_request(Request*, int&);
89  protected:
90  Mib* mib;
91 };
92 
93 
106 
107 public:
110 
112 
113  virtual int commit_set_request(Request*, int);
114  virtual int prepare_set_request(Request*, int&);
115  protected:
117 };
118 
119 
121 {
122  public:
126 };
127 
128 
129 #ifdef AGENTPP_NAMESPACE
130 }
131 #endif
132 
133 
134 #endif
135 
136