Not Class Reference

Implementation of NotBase. More...

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

+ Inheritance diagram for Not:

Public Member Functions

void allocatedComputingPower (const Ice::Current &=Ice::emptyCurrent) override
 Passes the call to the contained strategy. More...
 
 Not (const ComputingPowerRequestStrategyBasePtr &s)
 Ctor. More...
 
void setCurrentStateAsInitialState (const ::Ice::Current &=Ice::emptyCurrent) override
 Passes the call to the contained strategy. More...
 
bool shouldAllocateComputingPower (const ::Ice::Current &=Ice::emptyCurrent) override
 Returns the negatedresult of the contained strategy. More...
 
void updateNodeCount (Ice::Long count, const Ice::Current &=Ice::emptyCurrent) override
 Passes the call to the contained strategy. 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
 Passes the call to the contained strategy. 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

 Not ()=default
 Ctor used for object factories. More...
 

Friends

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

Detailed Description

Implementation of NotBase.

See also
NotBase

Definition at line 231 of file ComputingPowerRequestStrategy.h.

Constructor & Destructor Documentation

◆ Not() [1/2]

Not ( const ComputingPowerRequestStrategyBasePtr &  s)
inline

Ctor.

Parameters
sThe negated strategy.

Definition at line 240 of file ComputingPowerRequestStrategy.h.

◆ Not() [2/2]

Not ( )
protecteddefault

Ctor used for object factories.

Member Function Documentation

◆ allocatedComputingPower()

void allocatedComputingPower ( const Ice::Current &  = Ice::emptyCurrent)
inlineoverride

Passes the call to the contained strategy.

Definition at line 271 of file ComputingPowerRequestStrategy.h.

◆ setCurrentStateAsInitialState()

void setCurrentStateAsInitialState ( const ::Ice::Current &  = Ice::emptyCurrent)
inlineoverride

Passes the call to the contained strategy.

Definition at line 245 of file ComputingPowerRequestStrategy.h.

◆ shouldAllocateComputingPower()

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

Returns the negatedresult of the contained strategy.

Returns
The negatedresult of the contained strategy.

Implements ComputingPowerRequestStrategy.

Definition at line 280 of file ComputingPowerRequestStrategy.h.

◆ updateNodeCount()

void updateNodeCount ( Ice::Long  count,
const Ice::Current &  = Ice::emptyCurrent 
)
inlineoverride

Passes the call to the contained strategy.

Parameters
countThe new node count.

Definition at line 254 of file ComputingPowerRequestStrategy.h.

◆ updateNodeCreations()

void updateNodeCreations ( Ice::Long  nodesCreated,
Ice::Long  tries,
const Ice::Current &  = Ice::emptyCurrent 
)
inlineoverride

Passes this call to all sub strategies.

See also
ComputingPowerRequestStrategyBase::updateNodeCreations
Parameters
nodesCreatedNumber of created nodes.
triesNumber of tries to create nodes.

Definition at line 291 of file ComputingPowerRequestStrategy.h.

◆ updateTaskStatus()

void updateTaskStatus ( armarx::TaskStatus::Status  newStatus,
const Ice::Current &  = Ice::emptyCurrent 
)
inlineoverride

Passes the call to the contained strategy.

Parameters
newStatusThe new task status.

Definition at line 263 of file ComputingPowerRequestStrategy.h.

Friends And Related Function Documentation

◆ armarx::GenericFactory

friend class armarx::GenericFactory
friend

Definition at line 297 of file ComputingPowerRequestStrategy.h.


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