Fawkes API
Fawkes Development Version
|
22 #include "asp_thread.h"
Thread aspect provide a new aspect.
void set_control_manager(LockPtr< ClingoControlManager > &clingo_ctrl_mgr)
Set Clingo control manger.
Logger * logger
This is the Logger member used to access the logger.
Fawkes library namespace.
void finalize() override
Finalize the thread.
void loop() override
Code to execute in the thread.
Thread class encapsulation of pthreads.
void set_logger(Logger *logger)
Sets the logger for all Clingo Controls.
The Clingo Control Manager creates and maintains Clingo Controls.
void init() override
Initialize the thread.
void set_control_manager(const LockPtr< ClingoControlManager > &ctrl_mgr)
Sets the control manager.