MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / FindOp

Function FindOp

Source/URLab/Private/Bridge/OpRegistry.cpp:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64TOptional<FOpDecl> FindOp(const FString& OpName)
65{
66 FRWScopeLock Lock(MapLock(), SLT_ReadOnly);
67 if (const FOpDecl* D = Map().Find(OpName))
68 {
69 // Copy under the read lock so callers hold a value, not a
70 // pointer into a map that may rehash on the next register.
71 return *D;
72 }
73 return TOptional<FOpDecl>();
74}
75
76TArray<FOpDecl> GetAllOps()
77{

Callers 1

DispatchInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected