TimeStampTable Class Reference

This class represents tables that are associated with a TimeStamp instance that is updated whenever the tables changes. More...

#include <snmp_textual_conventions.h>

Inheritance diagram for TimeStampTable:

MibTable MibEntry MibTableVoter ThreadManager Synchronized sysOREntry

List of all members.

Public Member Functions

 TimeStampTable (const Oidx &, const index_info *, unsigned int, TimeStamp *)
 Constructor with object identifier and given index structure.
virtual ~TimeStampTable ()
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_delete (MibTableRow *, const Oidx &, MibTable *)
 Is called before a row is deleted by MibTable.
virtual void updated ()
 This method should be called whenever the reciever is changed, except when a row is added or deleted (row_added and row_deleted already call updated()).

Protected Attributes

TimeStamplastChange


Detailed Description

This class represents tables that are associated with a TimeStamp instance that is updated whenever the tables changes.

Author:
Frank Fock
Version:
3.5.7

Constructor & Destructor Documentation

TimeStampTable::TimeStampTable ( const Oidx ,
const index_info ,
unsigned  int,
TimeStamp  
)

Constructor with object identifier and given index structure.

In AGENT++ the structure of a table's index is given by an array of integer values. Each element represents an object of the index. A value of -1 represents a implied variable length string or oid. A value of 0 a variable length string or oid index object. A value greater than 0 determines the length of the index object meassured in subidentifiers.

Parameters:
o the object identifier of the table, which has to be the oid of the the SMI table entry object (table.1).
index an integer array. The length of the array corresponds to the number of objects in the INDEX clause.
timeStamp a pointer to a TimeStamp instance.

virtual TimeStampTable::~TimeStampTable (  )  [virtual]


Member Function Documentation

virtual void TimeStampTable::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 TimeStampTable::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 TimeStampTable::updated (  )  [virtual]

This method should be called whenever the reciever is changed, except when a row is added or deleted (row_added and row_deleted already call updated()).


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