Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/embedx
/ ClassFactoryRegister
Method
ClassFactoryRegister
src/common/class_registry.h:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
77
public:
78
explicit ClassFactoryRegister(const std::string& name) {
79
ClassRegistry<T>::GetInstance()->Register(name, &Create);
80
}
81
};
82
83
} // namespace embedx
Callers
nothing calls this directly
Calls
1
Register
Method · 0.80
Tested by
no test coverage detected