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

cell.h

Blame
  • cell.h 508 B
    #ifndef CCF_IMMERSIVE_SORTING_CELL_H_
    #define CCF_IMMERSIVE_SORTING_CELL_H_
    
    #include <connector.pb.h>
    #include <optional>
    #include <string>
    
    struct Cell
    {
      enum State
      {
        UNDEFINED,
        DISCONNECTED,
        IDLE,
        WORKING
      };
    
      std::string id;
      Scene scene;
      State state = UNDEFINED;
      std::optional<std::string> processed_object;
    
      Cell() = default;
    
      // one does not copy cells
      Cell(const Cell&) = delete;
      Cell& operator=(const Cell&) = delete;
    };
    
    #endif  // CCF_IMMERSIVE_SORTING_CELL_H_