MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / GetCipClass

Function GetCipClass

source/src/cip/cipmessagerouter.c:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125CipClass *GetCipClass(const EipUint32 class_id) {
126 CipMessageRouterObject *message_router_object = GetRegisteredObject(class_id);
127
128 if (message_router_object) {
129 return message_router_object->cip_class;
130 } else {
131 return NULL;
132 }
133}
134
135CipInstance *GetCipInstance(const CipClass *RESTRICT const cip_class,
136 EipUint32 instance_number) {

Calls 1

GetRegisteredObjectFunction · 0.85

Tested by

no test coverage detected