ChimeraTK-ControlSystemAdapter-OPCUAAdapter  04.00.01
generate_open62541CCode Namespace Reference

Variables

 logger = logging.getLogger(__name__)
 
 parser
 
 metavar
 
 nargs
 
 type
 
 help
 
 action
 
 dest
 
 default
 
 choices
 
 args = parser.parse_args()
 
 level = logging.CRITICAL
 
int verbosity = 0
 
 outfileh = open(args.outputFile+".h", r"w+")
 
 outfilec = open(args.outputFile+".c", r"w+")
 
 ns = opcua_namespace("open62541")
 
 preProc = open62541_XMLPreprocessor()
 
 namespaceArrayNames = preProc.getUsedNamespaceArrayNames()
 
 line = line.replace(" ","")
 
 id = line.replace("\n","")
 
list ignoreNodes = []
 
 generatedCode = ns.printOpen62541Header(ignoreNodes, args.suppressedAttributes, outfilename=basename(args.outputFile))
 

Variable Documentation

◆ action

generate_open62541CCode.action

Definition at line 48 of file generate_open62541CCode.py.

◆ args

generate_open62541CCode.args = parser.parse_args()

Definition at line 69 of file generate_open62541CCode.py.

◆ choices

generate_open62541CCode.choices

Definition at line 63 of file generate_open62541CCode.py.

◆ default

generate_open62541CCode.default

Definition at line 50 of file generate_open62541CCode.py.

◆ dest

generate_open62541CCode.dest

Definition at line 49 of file generate_open62541CCode.py.

◆ generatedCode

generate_open62541CCode.generatedCode = ns.printOpen62541Header(ignoreNodes, args.suppressedAttributes, outfilename=basename(args.outputFile))

Definition at line 174 of file generate_open62541CCode.py.

◆ help

generate_open62541CCode.help

Definition at line 40 of file generate_open62541CCode.py.

◆ id

generate_open62541CCode.id = line.replace("\n","")

Definition at line 127 of file generate_open62541CCode.py.

◆ ignoreNodes

list generate_open62541CCode.ignoreNodes = []

Definition at line 159 of file generate_open62541CCode.py.

◆ level

generate_open62541CCode.level = logging.CRITICAL

Definition at line 71 of file generate_open62541CCode.py.

◆ line

generate_open62541CCode.line = line.replace(" ","")

Definition at line 126 of file generate_open62541CCode.py.

◆ logger

generate_open62541CCode.logger = logging.getLogger(__name__)

Definition at line 29 of file generate_open62541CCode.py.

◆ metavar

generate_open62541CCode.metavar

Definition at line 37 of file generate_open62541CCode.py.

◆ namespaceArrayNames

generate_open62541CCode.namespaceArrayNames = preProc.getUsedNamespaceArrayNames()

Definition at line 114 of file generate_open62541CCode.py.

◆ nargs

generate_open62541CCode.nargs

Definition at line 38 of file generate_open62541CCode.py.

◆ ns

generate_open62541CCode.ns = opcua_namespace("open62541")

Definition at line 99 of file generate_open62541CCode.py.

◆ outfilec

generate_open62541CCode.outfilec = open(args.outputFile+".c", r"w+")

Definition at line 96 of file generate_open62541CCode.py.

◆ outfileh

generate_open62541CCode.outfileh = open(args.outputFile+".h", r"w+")

Definition at line 95 of file generate_open62541CCode.py.

◆ parser

generate_open62541CCode.parser
Initial value:
1 = argparse.ArgumentParser(
2  description=,
3  formatter_class=argparse.RawDescriptionHelpFormatter)

Definition at line 31 of file generate_open62541CCode.py.

◆ preProc

generate_open62541CCode.preProc = open62541_XMLPreprocessor()

Definition at line 102 of file generate_open62541CCode.py.

◆ type

generate_open62541CCode.type

Definition at line 39 of file generate_open62541CCode.py.

◆ verbosity

generate_open62541CCode.verbosity = 0

Definition at line 72 of file generate_open62541CCode.py.