Skip to content
Snippets Groups Projects
Select Git revision
  • noetic/demo/ga-2023-1-motion-grammars
  • demo/ga-2023-1
  • noetic/main default protected
  • noetic/feature/robotics-festival
  • feature/table-detector
  • ga-demo
  • noetic/feature/tags
  • noetic/feature/collab
  • ccnc-demo
9 results

task.h

Blame
  • task.h 389 B
    #ifndef CCF_IMMERSIVE_SORTING_TASK_H_
    #define CCF_IMMERSIVE_SORTING_TASK_H_
    
    #include <vector>
    #include "action.h"
    
    class Task
    {
      std::vector<Action> actions_;
    
    public:
      void addAction(const Action& action)
      {
        actions_.emplace_back(action);
      }
    
      [[nodiscard]] const std::vector<Action>& getActions() const
      {
        return actions_;
      }
    };
    
    #endif  // CCF_IMMERSIVE_SORTING_TASK_H_