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

Inherits SnmpNode.

Inherited by SnmpScalarArrayNode, SnmpTableNode, and SnmpTreeNode.

Public Member Functions

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...
 
- Public Member Functions inherited from SnmpNode
virtual void Generate (MibCFile generatedFile, MibHeaderFile generatedHeaderFile)
 
abstract void GenerateCode (MibCFile mibFile)
 
virtual void GenerateHeaderCode (MibHeaderFile mibHeaderFile)
 

Protected Member Functions

 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)
 

Properties

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+$")
 

Detailed Description

Definition at line 39 of file SnmpScalarAggregationNode.cs.

Constructor & Destructor Documentation

SnmpScalarAggregationNode ( SnmpTreeNode  parentNode)
inlineprotected

Definition at line 45 of file SnmpScalarAggregationNode.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 SnmpNode.

Reimplemented in SnmpTreeNode.

Definition at line 85 of file SnmpScalarAggregationNode.cs.

void GenerateAggregatedCode ( MibCFile  mibFile,
VariableType  instanceType,
string  switchSelector,
bool  generateDeclarations = true,
bool  generateImplementations = true 
)
inlineprotected

Definition at line 112 of file SnmpScalarAggregationNode.cs.

virtual void GenerateGetMethodCode ( Function  getMethod,
string  switchSelector 
)
inlineprotectedvirtual

Definition at line 174 of file SnmpScalarAggregationNode.cs.

virtual void GenerateSetMethodCode ( Function  setMethod,
string  switchSelector 
)
inlineprotectedvirtual

Definition at line 252 of file SnmpScalarAggregationNode.cs.

virtual void GenerateTestMethodCode ( Function  testMethod,
string  switchSelector 
)
inlineprotectedvirtual

Definition at line 211 of file SnmpScalarAggregationNode.cs.

Property Documentation

abstract IEnumerable<SnmpScalarNode> AggregatedScalarNodes
getprotected

Definition at line 81 of file SnmpScalarAggregationNode.cs.

virtual string GetMethodName
getprotected

Definition at line 51 of file SnmpScalarAggregationNode.cs.

bool GetMethodRequired
getprotected

Definition at line 56 of file SnmpScalarAggregationNode.cs.

virtual string SetMethodName
getprotected

Definition at line 71 of file SnmpScalarAggregationNode.cs.

bool SetMethodRequired
getprotected

Definition at line 76 of file SnmpScalarAggregationNode.cs.

virtual string TestMethodName
getprotected

Definition at line 61 of file SnmpScalarAggregationNode.cs.

bool TestMethodRequired
getprotected

Definition at line 66 of file SnmpScalarAggregationNode.cs.


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