Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_environment::Command Class Reference

#include <command.h>

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

Public Types

using ConstPtr = std::shared_ptr< const Command >
 
using Ptr = std::shared_ptr< Command >
 

Public Member Functions

 Command (Command &&)=default
 
 Command (CommandType type=CommandType::UNINITIALIZED)
 
 Command (const Command &)=default
 
CommandType getType () const
 
bool operator!= (const Command &rhs) const
 
Commandoperator= (Command &&)=default
 
Commandoperator= (const Command &)=default
 
bool operator== (const Command &rhs) const
 
virtual ~Command ()=default
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

CommandType type_
 

Friends

class boost::serialization::access
 
struct tesseract_common::Serialization
 

Detailed Description

Definition at line 83 of file command.h.

Member Typedef Documentation

◆ ConstPtr

using tesseract_environment::Command::ConstPtr = std::shared_ptr<const Command>

Definition at line 87 of file command.h.

◆ Ptr

using tesseract_environment::Command::Ptr = std::shared_ptr<Command>

Definition at line 86 of file command.h.

Constructor & Destructor Documentation

◆ Command() [1/3]

tesseract_environment::Command::Command ( CommandType  type = CommandType::UNINITIALIZED)

Definition at line 37 of file command.cpp.

◆ ~Command()

virtual tesseract_environment::Command::~Command ( )
virtualdefault

◆ Command() [2/3]

tesseract_environment::Command::Command ( const Command )
default

◆ Command() [3/3]

tesseract_environment::Command::Command ( Command &&  )
default

Member Function Documentation

◆ getType()

CommandType tesseract_environment::Command::getType ( ) const
inline

Definition at line 96 of file command.h.

◆ operator!=()

bool tesseract_environment::Command::operator!= ( const Command rhs) const

Definition at line 66 of file command.cpp.

◆ operator=() [1/2]

Command& tesseract_environment::Command::operator= ( Command &&  )
default

◆ operator=() [2/2]

Command& tesseract_environment::Command::operator= ( const Command )
default

◆ operator==()

bool tesseract_environment::Command::operator== ( const Command rhs) const

Definition at line 60 of file command.cpp.

◆ serialize()

template<class Archive >
void tesseract_environment::Command::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Definition at line 69 of file command.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 104 of file command.h.

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

Definition at line 105 of file command.h.

Member Data Documentation

◆ type_

CommandType tesseract_environment::Command::type_
private

Definition at line 102 of file command.h.


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


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