And Class Reference

Implementation of AndBase. More...

#include <RobotComponents/components/MotionPlanning/ResourceRequestStrategies/ComputingPowerRequestStrategy.h>

+ Inheritance diagram for And:

Public Member Functions

 And (const ComputingPowerRequestStrategyBaseList &requestStrategies)
 Ctor. More...
 
bool shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override
 Returns true if all compounded strategies return true. More...
 
- Public Member Functions inherited from CompoundedRequestStrategy
void allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override
 Calls this function for all compounded strategies. More...
 
 CompoundedRequestStrategy (const ComputingPowerRequestStrategyBaseList &requestStrategies)
 Ctor. More...
 
void setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override
 Calls this function for all compounded strategies. More...
 
void updateNodeCount (Ice::Long count, const Ice::Current &=Ice::emptyCurrent) override
 Calls this function for all compounded strategies. More...
 
void updateNodeCreations (Ice::Long nodesCreated, Ice::Long tries, const Ice::Current &=Ice::emptyCurrent) override
 Passes this call to all sub strategies. More...
 
void updateTaskStatus (armarx::TaskStatus::Status newStatus, const Ice::Current &=Ice::emptyCurrent) override
 Calls this function for all compounded strategies. More...
 
- Public Member Functions inherited from ComputingPowerRequestStrategy
void allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override
 Default implementation. More...
 
void setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override
 Default implementation. More...
 
void updateNodeCount (Ice::Long, const Ice::Current &=Ice::emptyCurrent) override
 Default implementation. More...
 
void updateNodeCreations (Ice::Long, Ice::Long, const Ice::Current &=Ice::emptyCurrent) override
 Default implementation. More...
 
void updateTaskStatus (armarx::TaskStatus::Status, const Ice::Current &=Ice::emptyCurrent) override
 Default implementation. More...
 
 ~ComputingPowerRequestStrategy () override=default
 Dtor. More...
 

Protected Member Functions

 And ()=default
 Ctor used for object factories. More...
 
- Protected Member Functions inherited from CompoundedRequestStrategy
 CompoundedRequestStrategy ()=default
 Ctor used for object factories. More...
 

Friends

template<class Base , class Derived >
class armarx::GenericFactory
 

Detailed Description

Implementation of AndBase.

See also
AndBase

Definition at line 159 of file ComputingPowerRequestStrategy.h.

Constructor & Destructor Documentation

◆ And() [1/2]

And ( const ComputingPowerRequestStrategyBaseList &  requestStrategies)
inline

Ctor.

Parameters
requestStrategiesThe strategies forming this compound.

Definition at line 168 of file ComputingPowerRequestStrategy.h.

◆ And() [2/2]

And ( )
protecteddefault

Ctor used for object factories.

Member Function Documentation

◆ shouldAllocateComputingPower()

bool shouldAllocateComputingPower ( const ::Ice::Current &  = Ice::emptyCurrent)
overridevirtual

Returns true if all compounded strategies return true.

Returns
True if all compounded strategies return true.

Implements ComputingPowerRequestStrategy.

Definition at line 29 of file ComputingPowerRequestStrategy.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ armarx::GenericFactory

friend class armarx::GenericFactory
friend

Definition at line 179 of file ComputingPowerRequestStrategy.h.


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