Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
events.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_EVENTS_H
27#define TESSERACT_ENVIRONMENT_EVENTS_H
30
32{
33enum class Events
34{
37};
38
40struct Event
41{
43 virtual ~Event() = default;
44
45 const Events type;
46};
47
53{
56 {
57 }
58
61};
62
68{
71 {
72 }
73
75};
76
77using EventCallbackFn = std::function<void(const Event& event)>;
78} // namespace tesseract_environment
79
80#endif // TESSERACT_ENVIRONMENT_EVENTS_H
This contains classes for recording operations applied to the environment for tracking changes....
Definition: command.h:39
std::function< void(const Event &event)> EventCallbackFn
Definition: events.h:77
std::vector< Command::ConstPtr > Commands
Definition: command.h:101
Events
Definition: events.h:34
This holds a state of the scene.
The command applied event.
Definition: events.h:53
int revision
Definition: events.h:60
CommandAppliedEvent(const Commands &commands, int revision)
Definition: events.h:54
const Commands & commands
Definition: events.h:59
The event base class.
Definition: events.h:41
virtual ~Event()=default
const Events type
Definition: events.h:45
Event(Events type)
Definition: events.h:42
The scene state changed event.
Definition: events.h:68
SceneStateChangedEvent(const tesseract_scene_graph::SceneState &state)
Definition: events.h:69
const tesseract_scene_graph::SceneState & state
Definition: events.h:74
This holds a state of the scene.
Definition: scene_state.h:54