AgentXcpp  Version:0.3
Internals Documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Pages
agentxcpp::TableEntry Class Referenceabstract

Base class for table entries. More...

#include <TableEntry.hpp>

Collaboration diagram for agentxcpp::TableEntry:

Public Member Functions

virtual QVector
< QSharedPointer
< AbstractVariable > > 
indexVariables ()=0
 Get the index variables of this entry. More...
 
virtual QMap< quint32,
QSharedPointer
< AbstractVariable > > 
variables ()=0
 Get the variables of this entry. More...
 
virtual ~TableEntry ()
 Virtual Destructor. More...
 

Public Attributes

quint32 subid
 The subid assigned to this entry. More...
 

Detailed Description

Base class for table entries.

Definition at line 35 of file TableEntry.hpp.

Constructor & Destructor Documentation

virtual agentxcpp::TableEntry::~TableEntry ( )
inlinevirtual

Virtual Destructor.

Definition at line 76 of file TableEntry.hpp.

Member Function Documentation

virtual QVector< QSharedPointer<AbstractVariable> > agentxcpp::TableEntry::indexVariables ( )
pure virtual

Get the index variables of this entry.

This method shall provide the index variables for the entry. The order in the vector shall match the order specified in the MIB.

Returns
The index variables of the entry.
Exceptions
Thismethod shall not throw.
virtual QMap< quint32, QSharedPointer<AbstractVariable> > agentxcpp::TableEntry::variables ( )
pure virtual

Get the variables of this entry.

This method shall return the variables for this entry. The variables are returned as a map, with the variables index as key and the variable itself as value.

Returns
The variables for this entry.
Exceptions
Thismethod shall not throw.

Member Data Documentation

quint32 agentxcpp::TableEntry::subid

The subid assigned to this entry.

This variable shall be initialized by a subclass before the entry is added to a table. See How tables work in agentXcpp for an introduction to this value.

Definition at line 45 of file TableEntry.hpp.


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