farm-ng-core
farm_ng::Adder Class Reference
Inheritance diagram for farm_ng::Adder:
Collaboration diagram for farm_ng::Adder:

Public Member Functions

 Adder (Context const &ctx)
 
Input< int > & inA ()
 
Input< int > & inB ()
 
Output< int > & outSum ()
 
- Public Member Functions inherited from farm_ng::Component
template<class TDerived >
 Component (Context const &ctx, std::string scheme, TDerived *, std::string const &path)
 Default constructor of a context, it gets its own io_context. More...
 
virtual ~Component ()=default
 Virtual destructor for component derived classes. More...
 
Context getContext () const
 Returns the owned Context by the component. More...
 
ContextStrand getContextStrand () const
 Returns the owned ContextStrand by the component. More...
 
const Uriuri () const
 Returns the unique uri of the component instance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from farm_ng::Component
virtual void onReset (Void const &)
 Placeholder for a component reset callback. More...
 

Constructor & Destructor Documentation

◆ Adder()

farm_ng::Adder::Adder ( Context const &  ctx)
inline

Member Function Documentation

◆ inA()

Input<int>& farm_ng::Adder::inA ( )
inline

◆ inB()

Input<int>& farm_ng::Adder::inB ( )
inline

◆ outSum()

Output<int>& farm_ng::Adder::outSum ( )
inline

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