Go to the source code of this file.
Classes | |
class | generate_protocol.CodeGenerator |
Namespaces | |
namespace | generate_protocol |
Functions | |
def | generate_protocol.override_types |
def | generate_protocol.reorder_structs |
Variables | |
tuple | generate_protocol.c = CodeGenerator(model, hpath, enumpath, rawsizepath, serializerpath, deserializerpath, constructorspath) |
string | generate_protocol.constructorspath = "../src/protocol/constructors_auto.cpp" |
string | generate_protocol.deserializerpath = "../src/protocol/deserialize_auto.cpp" |
list | generate_protocol.EnabledStructs |
string | generate_protocol.enumpath = "../include/opc/ua/protocol/enums.h" |
tuple | generate_protocol.f = open("struct_list.txt", "w") |
string | generate_protocol.hpath = "../include/opc/ua/protocol/protocol_auto.h" |
list | generate_protocol.IgnoredEnums = ["IdType", "NodeIdType"] |
tuple | generate_protocol.model = p.parse() |
list | generate_protocol.NeedConstructor = ["RelativePathElement", "OpenSecureChannelParameters", "UserIdentityToken", "RequestHeader", "ResponseHeader", "ReadParameters", "UserIdentityToken", "BrowseDescription", "ReferenceDescription", "CreateSubscriptionParameters", "SubscriptionData", "NotificationMessage", "PublishResult", "PublishResult", "NotificationMessage", "SetPublishingModeParameters"] |
list | generate_protocol.NoSplitStruct = ["GetEndpointsResponse", "CloseSessionRequest", "AddNodesResponse", "BrowseResponse", "HistoryReadResponse", "HistoryUpdateResponse", "RegisterServerResponse", "CloseSecureChannelRequest", "CloseSecureChannelResponse", "CloseSessionRequest", "CloseSessionResponse", "UnregisterNodesResponse", "MonitoredItemModifyRequest", "MonitoredItemsCreateRequest", "ReadResponse", "WriteResponse", "TranslateBrowsePathsToNodeIdsResponse", "DeleteSubscriptionsResponse", "DeleteMonitoredItemsResponse", "PublishRequest", "CreateMonitoredItemsResponse", "DeleteMonitoredItemsResponse", "ServiceFault", "AddReferencesRequest", "AddReferencesResponse", "ModifyMonitoredItemsResponse", "CallRequest", "CallResponse", "RepublishResponse", "DeleteSubscriptionsRequest", "DeleteSubscriptionsResponse", "DeleteNodesRequest", "DeleteNodesResponse"] |
dictionary | generate_protocol.OverrideNameInStruct = {"CreateSubscriptionResponse": {"Parameters": "Data"}, "SetPublishingModeResponse": {"Parameters": "Result"}} |
dictionary | generate_protocol.OverrideNames = {"RequestHeader": "Header", "ResponseHeader": "Header", "StatusCode": "Status", "NodesToRead": "AttributesToRead"} |
dictionary | generate_protocol.OverrideStructTypeName = {"CreateSubscriptionResult": "SubscriptionData", "SetPublishingModeParameters": "PublishingModeParameters", "SetPublishingModeResult": "PublishingModeResult", "CreateMonitoredItemsParameters": "MonitoredItemsParameters"} |
dictionary | generate_protocol.OverrideTypeInStruct = {"ActivateSessionParameters": {"UserIdentityToken": "UserIdentifyToken"}, "MonitoringParameters": {"Filter": "MonitoringFilter"}, "MonitoredItemCreateResult": {"FilterResult": "MonitoringFilter"}} |
dictionary | generate_protocol.OverrideTypes = {"AttributeId": "AttributeId", "ResultMask": "BrowseResultMask", "NodeClassMask": "NodeClass", "AccessLevel": "VariableAccessLevel", "UserAccessLevel": "VariableAccessLevel", "NotificationData": "NotificationData"} |
tuple | generate_protocol.p = gm.Parser(xmlpath) |
string | generate_protocol.rawsizepath = "../src/protocol/rawsize_auto.cpp" |
string | generate_protocol.serializerpath = "../src/protocol/serialize_auto.cpp" |
string | generate_protocol.xmlpath = "Opc.Ua.Types.bsd" |