Public Member Functions | Public Attributes | List of all members
tesseract_environment::CommandAppliedEvent Struct Reference

The command applied event. More...

#include <events.h>

Inheritance diagram for tesseract_environment::CommandAppliedEvent:
Inheritance graph
[legend]

Public Member Functions

 CommandAppliedEvent (const std::vector< std::shared_ptr< const Command >> &commands, int revision)
 
- Public Member Functions inherited from tesseract_environment::Event
 Event (const Event &)=default
 
 Event (Event &&)=default
 
 Event (Events type)
 
Eventoperator= (const Event &)=delete
 
Eventoperator= (Event &&)=delete
 
virtual ~Event ()=default
 

Public Attributes

const std::vector< std::shared_ptr< const Command > > & commands
 
int revision
 
- Public Attributes inherited from tesseract_environment::Event
const Events type
 

Detailed Description

The command applied event.

Note
Do not store the const& of command in your code make a copy instead

Definition at line 64 of file events.h.

Constructor & Destructor Documentation

◆ CommandAppliedEvent()

tesseract_environment::CommandAppliedEvent::CommandAppliedEvent ( const std::vector< std::shared_ptr< const Command >> &  commands,
int  revision 
)

Definition at line 35 of file events.cpp.

Member Data Documentation

◆ commands

const std::vector<std::shared_ptr<const Command> >& tesseract_environment::CommandAppliedEvent::commands

Definition at line 69 of file events.h.

◆ revision

int tesseract_environment::CommandAppliedEvent::revision

Definition at line 70 of file events.h.


The documentation for this struct was generated from the following files:


tesseract_environment
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:21