STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Public Member Functions | Properties
SnmpTreeNode Class Reference

Inherits SnmpScalarAggregationNode.

Inherited by SnmpMib.

Public Member Functions

 SnmpTreeNode (SnmpTreeNode parentNode)
 
override void GenerateCode (MibCFile mibFile)
 
override void Analyze ()
 Called after node structure creation is completed and before code is created. Offers the possibility to perform operations depending on properties/subnodes. If the node shall be transformed to another node(-type) than the own instance may be replaced on parent node by the transformed instance. Calling sequence is always from leafs up to root. So a tree node can assume that the analyze method was already called on all child nodes. E.g. a tree node only has scalar sub nodes -> it transforms itself to a scalar array node More...
 
override void Generate (MibCFile generatedFile, MibHeaderFile generatedHeaderFile)
 
- Public Member Functions inherited from SnmpNode
virtual void GenerateHeaderCode (MibHeaderFile mibHeaderFile)
 

Properties

override string FullNodeName [get]
 
string FullOid [get, set]
 
List< SnmpNodeChildNodes [get]
 
override IEnumerable< SnmpScalarNodeAggregatedScalarNodes [get]
 
- Properties inherited from SnmpScalarAggregationNode
virtual string GetMethodName [get]
 
bool GetMethodRequired [get]
 
virtual string TestMethodName [get]
 
bool TestMethodRequired [get]
 
virtual string SetMethodName [get]
 
bool SetMethodRequired [get]
 
abstract IEnumerable< SnmpScalarNodeAggregatedScalarNodes [get]
 
- Properties inherited from SnmpNode
SnmpTreeNode ParentNode [get]
 
virtual uint Oid [get, set]
 
abstract string FullNodeName [get]
 
virtual string Name [get, set]
 

Additional Inherited Members

- Static Public Attributes inherited from SnmpNode
static readonly Regex NameValidationRegex = new Regex(@"^\w+$")
 
- Protected Member Functions inherited from SnmpScalarAggregationNode
 SnmpScalarAggregationNode (SnmpTreeNode parentNode)
 
void GenerateAggregatedCode (MibCFile mibFile, VariableType instanceType, string switchSelector, bool generateDeclarations=true, bool generateImplementations=true)
 
virtual void GenerateGetMethodCode (Function getMethod, string switchSelector)
 
virtual void GenerateTestMethodCode (Function testMethod, string switchSelector)
 
virtual void GenerateSetMethodCode (Function setMethod, string switchSelector)
 
- Protected Member Functions inherited from SnmpNode
 SnmpNode (SnmpTreeNode parentNode)
 

Detailed Description

Definition at line 40 of file SnmpTreeNode.cs.

Constructor & Destructor Documentation

SnmpTreeNode ( SnmpTreeNode  parentNode)
inline

Definition at line 46 of file SnmpTreeNode.cs.

Member Function Documentation

override void Analyze ( )
inlinevirtual

Called after node structure creation is completed and before code is created. Offers the possibility to perform operations depending on properties/subnodes. If the node shall be transformed to another node(-type) than the own instance may be replaced on parent node by the transformed instance. Calling sequence is always from leafs up to root. So a tree node can assume that the analyze method was already called on all child nodes. E.g. a tree node only has scalar sub nodes -> it transforms itself to a scalar array node

Returns
The transformed node or null if nothing shall be changed in parent structure.

Reimplemented from SnmpScalarAggregationNode.

Definition at line 141 of file SnmpTreeNode.cs.

override void Generate ( MibCFile  generatedFile,
MibHeaderFile  generatedHeaderFile 
)
inlinevirtual

Reimplemented from SnmpNode.

Definition at line 210 of file SnmpTreeNode.cs.

override void GenerateCode ( MibCFile  mibFile)
inlinevirtual

Implements SnmpNode.

Definition at line 91 of file SnmpTreeNode.cs.

Property Documentation

override IEnumerable<SnmpScalarNode> AggregatedScalarNodes
getprotected

Definition at line 68 of file SnmpTreeNode.cs.

List<SnmpNode> ChildNodes
get

Definition at line 63 of file SnmpTreeNode.cs.

override string FullNodeName
get

Definition at line 52 of file SnmpTreeNode.cs.

string FullOid
getset

Definition at line 57 of file SnmpTreeNode.cs.


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