Move intrinEventInd()s from MarionetteComponent=>Director

This commit is contained in:
2025-10-05 22:39:26 -04:00
parent 035accf553
commit 56367402d7
6 changed files with 51 additions and 9 deletions
+40
View File
@@ -0,0 +1,40 @@
#include <iostream>
#include <director/director.h>
#include <goal.h>
namespace smo {
namespace director {
void Director::negtrinEventInd(void)
{
/** EXPLANATION:
* The essence of a negtrin event, to Director is that it generates a new Goal
* object and enqueues it onto the Director's negtrins queue. It's this auto-goal
* generation that gives negtrins their intrinsic undesirability.
*
* We don't sample the negtrin, evaluate it and then conclude that it's
* undesirable. We don't even produce a negative value judgment. We skip
* right past both the evaluation and the value judgment production and
* just generate the goal immediately.
*
* I'm unsure whether this is correct: it may well be that we ought to
* simply produce a negative value judgment and then let the Director
* create a goal to alleviate the negtrin.
*
* At any rate, for now, this is our implementation.
*/
std::cout << __func__ << ": Handling negtrin event." << std::endl;
}
void Director::intrinEventInd(void)
{
std::cout << __func__ << ": Handling intrin event." << std::endl;
}
void Director::postrinEventInd(void)
{
std::cout << __func__ << ": Handling postrin event." << std::endl;
}
} // namespace director
} // namespace smo