Or Class Reference

Implementation of OrBase. More...

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

+ Inheritance diagram for Or:

Public Member Functions

 Or (const ComputingPowerRequestStrategyBaseList &requestStrategies)
 Ctor. More...
 
bool shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override
 Returns true if any compounded strategies returns 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

 Or ()=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 OrBase.

See also
OrBase

Definition at line 191 of file ComputingPowerRequestStrategy.h.

Constructor & Destructor Documentation

◆ Or() [1/2]

Or ( const ComputingPowerRequestStrategyBaseList &  requestStrategies)
inline

Ctor.

Parameters
requestStrategiesThe strategies forming this compound.

Definition at line 200 of file ComputingPowerRequestStrategy.h.

◆ Or() [2/2]

Or ( )
protecteddefault

Ctor used for object factories.

Member Function Documentation

◆ shouldAllocateComputingPower()

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

Returns true if any compounded strategies returns true.

Returns
True if all compounded strategies return true.

Implements ComputingPowerRequestStrategy.

Definition at line 208 of file ComputingPowerRequestStrategy.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ armarx::GenericFactory

friend class armarx::GenericFactory
friend

Definition at line 219 of file ComputingPowerRequestStrategy.h.


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