载入中...
搜索中...
未找到
AgentModule.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4#include "common/Module.h"
5
6namespace eve::agent {
13public:
16 std::string getName() const override { return "Agent"; }
25 [[nodiscard]] static Agent* create();
26 static const char* name;
27
28private:
29 bool active_ = false;
30};
31} // namespace eve::agent
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
EVENGINE_API_FOUNDATION public API.
Definition Module.h:46
Squirrel entry eve.Agent(): owner-thread synchronous training, inference and replay.
Definition AgentModule.h:12
static Agent * create()
Borrow the registered singleton. @ownership Borrowed; ModuleManager owns the returned module....
static const char * name
Definition AgentModule.h:26
std::string getName() const override
Static module name, independent of registration lifetime.
Definition AgentModule.h:16