WSF
WsfBehaviorObserver.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFBEHAVIOROBSERVER_HPP
13#define WSFBEHAVIOROBSERVER_HPP
14
15#include "wsf_export.h"
16
17#include "UtCallback.hpp"
18#include "WsfBehaviorTree.hpp"
19class WsfSimulation;
20
21namespace WsfObserver
22{
23using BehaviorTreeNodeChildrenCallback = UtCallbackListN<void(double, WsfBehaviorTreeNode*)>;
24using BehaviorTreeNodeExecCallback = UtCallbackListN<void(double, WsfBehaviorTreeNode*)>;
25
28} // namespace WsfObserver
29
40
41#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfBehaviorTreeNode.hpp:38
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Observer definitions for cyber events.
Definition WsfAdvancedBehaviorObserver.hpp:22
UtCallbackListN< void(double, WsfBehaviorTreeNode *)> BehaviorTreeNodeChildrenCallback
Definition WsfBehaviorObserver.hpp:23
UtCallbackListN< void(double, WsfBehaviorTreeNode *)> BehaviorTreeNodeExecCallback
Definition WsfBehaviorObserver.hpp:24
WSF_EXPORT BehaviorTreeNodeChildrenCallback & BehaviorTreeNodeChildren(const WsfSimulation *aSimulationPtr)
WSF_EXPORT BehaviorTreeNodeExecCallback & BehaviorTreeNodeExec(const WsfSimulation *aSimulationPtr)
Definition WsfBehaviorObserver.hpp:33
WsfObserver::BehaviorTreeNodeChildrenCallback BehaviorTreeNodeChildren
Provide a callback to query the children of a behavior tree node when the behavior tree is first init...
Definition WsfBehaviorObserver.hpp:35
WsfObserver::BehaviorTreeNodeExecCallback BehaviorTreeNodeExec
Provide a callback to query the behavior tree node whenever a state change occurs.
Definition WsfBehaviorObserver.hpp:38
Copyrights Multiple, All Rights Reserved