VacmViewTreeFamilyTable Class Reference

#include <vacm.h>

Inheritance diagram for VacmViewTreeFamilyTable:

StorageTable MibTable MibEntry MibTableVoter ThreadManager Synchronized

List of all members.

Public Member Functions

 VacmViewTreeFamilyTable ()
virtual ~VacmViewTreeFamilyTable ()
virtual boolean ready_for_service (Vbx *, int)
 Check whether the specified row is ready to set in service.
virtual boolean could_ever_be_managed (const Oidx &, int &)
 Check if an object of a given oid could be created.
virtual void row_added (MibTableRow *, const Oidx &, MibTable *)
 Is called after a new row has been created and automatic index generation has taken place.
virtual void row_activated (MibTableRow *, const Oidx &, MibTable *)
 Is called when a row is activated by a SET request setting the rowþs snmpRowStatus object to active(1).
virtual void row_deactivated (MibTableRow *, const Oidx &, MibTable *)
 Is called when a row is deactivated by a SET request setting the rowþs snmpRowStatus object to notInService(2).
virtual void row_delete (MibTableRow *, const Oidx &, MibTable *)
 Is called before a row is deleted by MibTable.
virtual void row_init (MibTableRow *, const Oidx &, MibTable *t=0)
 Is called after a new row has been initialized (i.e., after it has been loaded from persistent storage).
boolean isInMibView (const NS_SNMP OctetStr &, const Oidx &)
boolean addNewRow (const NS_SNMP OctetStr &viewName, const Oidx &subtree, const NS_SNMP OctetStr &mask, int type, int storageType)
void deleteRow (const NS_SNMP OctetStr &viewName, const Oidx &subtree)
virtual void clear ()
 Removes all rows from this table.
virtual void reset ()
 Removes all rows that are not permanent and not read-only.

Protected Member Functions

boolean bit (unsigned int, NS_SNMP OctetStr &)
ViewNameIndexviewsOf (const NS_SNMP OctetStr &viewName)
void buildViewNameIndex ()

Protected Attributes

List< ViewNameIndexviewNameIndex

Friends

class VacmViewTreeFamilyTableStatus


Constructor & Destructor Documentation

VacmViewTreeFamilyTable::VacmViewTreeFamilyTable (  ) 

virtual VacmViewTreeFamilyTable::~VacmViewTreeFamilyTable (  )  [virtual]


Member Function Documentation

virtual boolean VacmViewTreeFamilyTable::ready_for_service ( Vbx pvbs,
int  sz 
) [virtual]

Check whether the specified row is ready to set in service.

This method is left empty for override by the API user.

Parameters:
pvbs - A pointer to an array of Vbx objects containing the values and oids of the columns of a row to check.
sz - The size of the array.
Returns:
TRUE if the specified row is ready to set for service.

Reimplemented from MibTable.

virtual boolean VacmViewTreeFamilyTable::could_ever_be_managed ( const Oidx ,
int &   
) [virtual]

Check if an object of a given oid could be created.

Parameters:
o the oid to be checked.
result returns the SNMP error code, which explains why creation could not be performed. Possible values are: SNMP_ERROR_NO_CREATION and SNMP_ERROR_NOT_WRITEABLE
Returns:
TRUE if an object of the given oid could be created.

Reimplemented from MibTable.

virtual void VacmViewTreeFamilyTable::row_added ( MibTableRow ,
const Oidx ,
MibTable t 
) [virtual]

Is called after a new row has been created and automatic index generation has taken place.

Parameters:
row A pointer to MibTableRow that has been created.
index - The index of the row.
source a pointer to the source MibTable of the event, or 0 if the event is local.

Reimplemented from MibTable.

virtual void VacmViewTreeFamilyTable::row_activated ( MibTableRow ,
const Oidx ,
MibTable t 
) [virtual]

Is called when a row is activated by a SET request setting the rowþs snmpRowStatus object to active(1).

Parameters:
row - A pointer to MibTableRow that has been activated.
index - The index of the activated row.
source a pointer to the source MibTable of the event, or 0 if the event is local.

Reimplemented from MibTable.

virtual void VacmViewTreeFamilyTable::row_deactivated ( MibTableRow ,
const Oidx ,
MibTable t 
) [virtual]

Is called when a row is deactivated by a SET request setting the rowþs snmpRowStatus object to notInService(2).

Parameters:
row - A pointer to MibTableRow that has been deactivated.
index - The index of the deactivated row.
source a pointer to the source MibTable of the event, or 0 if the event is local.

Reimplemented from MibTable.

virtual void VacmViewTreeFamilyTable::row_delete ( MibTableRow ,
const Oidx ,
MibTable t 
) [virtual]

Is called before a row is deleted by MibTable.

Parameters:
row A pointer to MibTableRow that will be deleted.
index - The index of the row.
source a pointer to the source MibTable of the event, or 0 if the event is local.

Reimplemented from MibTable.

virtual void VacmViewTreeFamilyTable::row_init ( MibTableRow ,
const Oidx ,
MibTable t = 0 
) [virtual]

Is called after a new row has been initialized (i.e., after it has been loaded from persistent storage).

Parameters:
row a pointer to MibTableRow that has been created.
index the index of the row.
source a pointer to the source MibTable of the event, or 0 if the event is local.

Reimplemented from MibTable.

boolean VacmViewTreeFamilyTable::isInMibView ( const NS_SNMP OctetStr &  ,
const Oidx  
)

boolean VacmViewTreeFamilyTable::addNewRow ( const NS_SNMP OctetStr &  viewName,
const Oidx subtree,
const NS_SNMP OctetStr &  mask,
int  type,
int  storageType 
)

void VacmViewTreeFamilyTable::deleteRow ( const NS_SNMP OctetStr &  viewName,
const Oidx subtree 
)

virtual void VacmViewTreeFamilyTable::clear (  )  [inline, virtual]

Removes all rows from this table.

Reimplemented from MibTable.

virtual void VacmViewTreeFamilyTable::reset (  )  [inline, virtual]

Removes all rows that are not permanent and not read-only.

Reimplemented from StorageTable.

boolean VacmViewTreeFamilyTable::bit ( unsigned  int,
NS_SNMP OctetStr &   
) [protected]

ViewNameIndex* VacmViewTreeFamilyTable::viewsOf ( const NS_SNMP OctetStr &  viewName  )  [protected]

void VacmViewTreeFamilyTable::buildViewNameIndex (  )  [protected]


Friends And Related Function Documentation

friend class VacmViewTreeFamilyTableStatus [friend]


Member Data Documentation


The documentation for this class was generated from the following file:

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