MTC
Public Types | Public Member Functions | Protected Attributes | List of all members
moveit::task_constructor::LambdaCostTerm Class Reference
Inheritance diagram for moveit::task_constructor::LambdaCostTerm:
Inheritance graph
[legend]
Collaboration diagram for moveit::task_constructor::LambdaCostTerm:
Collaboration graph
[legend]

Public Types

using SubTrajectorySignature = std::function< double(const SubTrajectory &, std::string &)>
 
using SubTrajectoryShortSignature = std::function< double(const SubTrajectory &)>
 
- Public Types inherited from moveit::task_constructor::TrajectoryCostTerm
enum class  Mode : uint8_t { AUTO , START_INTERFACE , END_INTERFACE , TRAJECTORY }
 

Public Member Functions

template<typename Term , typename Signature = decltype(signatureMatcher(std::declval<Term>()))>
 LambdaCostTerm (const Term &t)
 
 LambdaCostTerm (const SubTrajectorySignature &term)
 
 LambdaCostTerm (const SubTrajectoryShortSignature &term)
 
double operator() (const SubTrajectory &s, std::string &comment) const override
 
- Public Member Functions inherited from moveit::task_constructor::TrajectoryCostTerm
double operator() (const SolutionSequence &s, std::string &comment) const override
 
double operator() (const WrappedSolution &s, std::string &comment) const override
 
- Public Member Functions inherited from moveit::task_constructor::CostTerm
 CostTerm (std::nullptr_t)
 

Protected Attributes

SubTrajectorySignature term_
 

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