Fawkes API
Fawkes Development Version
|
#include <>>
Public Member Functions | |
ClingoManagerAspect (void) | |
Constructor. More... | |
virtual | ~ClingoManagerAspect (void) |
Virtual empty destructor. More... | |
void | init_ClingoManagerAspect (const LockPtr< ClingoControlManager > &clingo_ctrl_mgr) |
Init ClingoManagerAspect. More... | |
void | finalize_ClingoManagerAspect (void) |
Finalize ASP aspect. More... | |
![]() | |
const std::list< const char * > & | get_aspects () const |
Get list of aspect names attached to a aspected thread. More... | |
Protected Attributes | |
LockPtr< ClingoControlManager > | clingo_ctrl_mgr |
Additional Inherited Members | |
![]() | |
void | add_aspect (const char *name) |
Add an aspect to a thread. More... | |
Thread aspect to access the Clingo Control manager.
Give this aspect to your thread if you want to access the Clingo control manager. Use this with extreme care and only if you know what you are doing. If you want to create a Clingo control to work with use the ASPAspect.
Definition at line 36 of file clingo_manager.h.
fawkes::ClingoManagerAspect::ClingoManagerAspect | ( | void | ) |
Constructor.
Definition at line 46 of file clingo_manager.cpp.
|
virtual |
Virtual empty destructor.
Definition at line 52 of file clingo_manager.cpp.
References clingo_ctrl_mgr.
void fawkes::ClingoManagerAspect::finalize_ClingoManagerAspect | ( | void | ) |
Finalize ASP aspect.
This clears the Clingo Control.
Definition at line 70 of file clingo_manager.cpp.
void fawkes::ClingoManagerAspect::init_ClingoManagerAspect | ( | const LockPtr< ClingoControlManager > & | clingo_ctrl_mgr | ) |
Init ClingoManagerAspect.
This sets the Clingo Control Manager.
[in] | clingo_ctrl_mgr | The Clingo Control Manager |
Definition at line 61 of file clingo_manager.cpp.
References clingo_ctrl_mgr.
|
protected |
The Clingo control manager.
Definition at line 51 of file clingo_manager.h.
Referenced by init_ClingoManagerAspect(), and ~ClingoManagerAspect().