AgentXcpp  Revision:0.2
Internals Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Pages
helpers.hpp File Reference
#include <boost/optional/optional.hpp>
#include "TimeTicksValue.hpp"
#include "OidValue.hpp"
Include dependency graph for helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  agentxcpp

Enumerations

enum  agentxcpp::generic_trap_t {
  agentxcpp::coldStart = 0, agentxcpp::warmStart = 1, agentxcpp::linkDown = 2, agentxcpp::linkUp = 3,
  agentxcpp::authenticationFailure = 4, agentxcpp::egpNeighborLoss = 5, agentxcpp::enterpriseSpecific = 6
}
 The allowed values for specific-trap (SNMPv1 trap). More...

Functions

TimeTicksValue agentxcpp::processUpTime ()
 Calculate the uptime of the current process.
OidValue agentxcpp::generate_v1_snmpTrapOID (generic_trap_t generic_trap, boost::optional< uint32_t > specific_trap=boost::optional< uint32_t >())
 Create snmpTrapOID.0 value from SNMPv1 trap data.