| 436 | return gInstance; |
| 437 | } |
| 438 | void insert(std::shared_ptr<GeometryComputer> c, int type, Runtime::CompilerType compType) { |
| 439 | if (Runtime::Compiler_Geometry == compType) { |
| 440 | mTable[type] = c; |
| 441 | } else if (Runtime::Compiler_Loop == compType) { |
| 442 | mLoopTable[type] = c; |
| 443 | } |
| 444 | } |
| 445 | private: |
| 446 | std::vector<std::shared_ptr<GeometryComputer>> mTable; |
| 447 | std::vector<std::shared_ptr<GeometryComputer>> mLoopTable; |
no outgoing calls
no test coverage detected