HOPS
HOPS class reference
Protected Member Functions | Protected Attributes | List of all members
hops::MHO_ArgumentCarrier< Args > Class Template Reference

Variadic base that stores an operator's typed arguments (pointers expected) in a tuple and exposes a protected Apply() helper for dispatching to Impl methods. All pointer slots are value-initialized to nullptr. More...

#include <MHO_ArgumentCarrier.hh>

Inheritance diagram for hops::MHO_ArgumentCarrier< Args >:
[legend]

Protected Member Functions

template<typename Func >
auto Apply (Func &&func) -> decltype(mho_tuple_apply(std::forward< Func >(func), fArgs))
 

Protected Attributes

std::tuple< Args... > fArgs
 

Additional Inherited Members

- Public Member Functions inherited from hops::MHO_Operator
 MHO_Operator ()
 
virtual ~MHO_Operator ()
 
virtual bool Execute ()=0
 Function Execute. More...
 
std::string GetName () const
 Getter for operator name. More...
 
virtual bool Initialize ()=0
 Function Initialize. More...
 
double Priority () const
 Get the the priority field value. More...
 
void SetName (std::string name)
 Setter for operator name. More...
 
void SetPriority (double priority)
 Setter for operator priority (determines order of execution within a operator category) More...
 

Detailed Description

template<typename... Args>
class hops::MHO_ArgumentCarrier< Args >

Variadic base that stores an operator's typed arguments (pointers expected) in a tuple and exposes a protected Apply() helper for dispatching to Impl methods. All pointer slots are value-initialized to nullptr.

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du

Member Function Documentation

◆ Apply()

template<typename... Args>
template<typename Func >
auto hops::MHO_ArgumentCarrier< Args >::Apply ( Func &&  func) -> decltype(mho_tuple_apply(std::forward< Func >(func), fArgs))
inlineprotected

Member Data Documentation

◆ fArgs

template<typename... Args>
std::tuple< Args... > hops::MHO_ArgumentCarrier< Args >::fArgs
protected

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