UniSet 2.44.3
Класс uniset::JSEngine

Открытые члены

 JSEngine (const std::string &jsfile, std::vector< std::string > &searchPaths, std::shared_ptr< UInterface > &ui, JSOptions &opts)
std::shared_ptr< DebugStreamlog () noexcept
std::shared_ptr< DebugStreamjs_log () noexcept
std::shared_ptr< DebugStreamhttp_log () noexcept
void init ()
bool isActive ()
void start ()
void stop ()
void askSensors (UniversalIO::UIOCommand cmd)
void sensorInfo (const uniset::SensorMessage *sm)
void updateOutputs ()
void step ()

Защищенные члены

void initJS ()
void freeJS ()
void initGlobal (JSContext *ctx)
void exportAllFunctionsFromTimerModule ()
void createUInterfaceObject ()
void createUnisetObject ()
void createResponsePrototype (JSContext *ctx)
void createRequestAtoms (JSContext *ctx)
void createRequestPrototype (JSContext *ctx)
void jsLoop ()