mib_context.h File Reference

#include <agent_pp/threads.h>
#include <agent_pp/snmp_pp_ext.h>
#include <agent_pp/List.h>
#include <agent_pp/mib_entry.h>

Go to the source code of this file.

Classes

class  MibGroup
class  MibContext

Defines

#define AGENTPP_DECL_TEMPL_LIST_MIBENTRY
 The MibGroup class is an encapsulation for a collection of MibEntry objects.
#define AGENTPP_DECL_TEMPL_OIDLIST_MIBENTRY
 The MibContext class is a collection class of MibEntry instances, that reside in the same (named) context.
#define AGENTPP_DECL_TEMPL_OIDLIST_MIBGROUP

Variables

AGENTPP_DECL_TEMPL template
class AGENTPP_DECL 
List< MibEntry >
AGENTPP_DECL_TEMPL template
class AGENTPP_DECL 
OidList< MibEntry >
AGENTPP_DECL_TEMPL template
class AGENTPP_DECL 
OidList< MibGroup >


Define Documentation

#define AGENTPP_DECL_TEMPL_LIST_MIBENTRY

The MibGroup class is an encapsulation for a collection of MibEntry objects.

MibGroup can be used to group a collection of MIB objects logically. If such a MibGroup object is added to a Mib instance it is flattened, which means each MibEntry object within that group object will be added to the Mib instance. The group object itself will be added to a list of groups. If a MibGroup instance is deleted, the contained MibEntry instances are NOT deleted. Instead, those instances are deleted by the destructor of the Mib instance the group has been added to.

NOTE: A MibGroup must not contain other MibGroup instances.

Author:
Frank Fock
Version:
3.5.15

#define AGENTPP_DECL_TEMPL_OIDLIST_MIBENTRY

The MibContext class is a collection class of MibEntry instances, that reside in the same (named) context.

The default context is identified by an empty string.

The MibEntry instances within an context can be loaded/stored from/to persitent storage. Whenever a context is loaded from disk by calling the init_from method, the context's content is stored to disk to the same location when the context is deleted.

Author:
Frank Fock
Version:
3.5.9

#define AGENTPP_DECL_TEMPL_OIDLIST_MIBGROUP


Variable Documentation

AGENTPP_DECL_TEMPL template class AGENTPP_DECL List< MibEntry >

AGENTPP_DECL_TEMPL template class AGENTPP_DECL OidList< MibEntry >

AGENTPP_DECL_TEMPL template class AGENTPP_DECL OidList< MibGroup >


Generated on Fri May 29 22:36:53 2009 for AGENT++ by  doxygen 1.5.6