YARP
Yet Another Robot Platform
yarp::manager::GPU Class Reference

#include <yarp/manager/physicresource.h>

+ Inheritance diagram for yarp::manager::GPU:

Public Member Functions

 GPU ()
 Class GPU. More...
 
 GPU (const char *szName)
 
 GPU (const GPU &res)
 
 ~GPU () override
 
Nodeclone () override
 
bool satisfy (GenericResource *resource) override
 
void setCores (size_t n)
 
void setFrequency (double f)
 
void setCompCompatibility (const char *cap)
 
void setGlobalMemory (Capacity c)
 
void setSharedMemory (Capacity c)
 
void setConstantMemory (Capacity c)
 
void setResgisterPerBlock (size_t val)
 
void setThreadPerBlock (size_t val)
 
void setOverlap (bool flag)
 
size_t getCores ()
 
double getFrequency ()
 
const char * getCompCompatibility ()
 
Capacity getGlobalMemory ()
 
Capacity getSharedMemory ()
 
Capacity getConstantMemory ()
 
size_t getRegisterPerBlock ()
 
size_t getThreadPerBlock ()
 
bool getOverlap ()
 
- Public Member Functions inherited from yarp::manager::GenericResource
 GenericResource (const char *szTypeName)
 Class GenericResource. More...
 
 ~GenericResource () override
 
void setAvailability (bool flag)
 
bool getAvailability ()
 
void setDisable (bool flag)
 
bool getDisable ()
 
void setName (const char *szName)
 
const char * getName ()
 
void setDescription (const char *szDesc)
 
const char * getDescription ()
 
const char * getTypeName ()
 
void setOwner (Node *owner)
 
Nodeowner ()
 
void setXmlFile (const char *szFilename)
 
const char * getXmlFile ()
 
bool operator== (const GenericResource &res) const
 
- Public Member Functions inherited from yarp::manager::Node
 Node (NodeType _type)
 
 Node (NodeType _type, const char *szLabel)
 
virtual ~Node ()
 
void setSatisfied (bool sat)
 
bool isSatisfied ()
 
void setVisited (bool vis)
 
bool isVisited ()
 
bool isLeaf ()
 
NodeType getType ()
 
void setLabel (const char *szLabel)
 
const char * getLabel ()
 
int sucCount ()
 
LinkgetLinkAt (int index)
 
bool addSuc (Node *node, float weight, bool _virtual=false)
 class Node More...
 
bool removeSuc (Node *node)
 
void removeAllSuc ()
 
bool hasSuc (Node *node)
 
GraphicModelgetModel ()
 
void setModel (GraphicModel *mdl)
 

Detailed Description

Definition at line 22 of file physicresource.h.

Constructor & Destructor Documentation

◆ GPU() [1/3]

GPU::GPU ( )

Class GPU.

Definition at line 21 of file physicresource.cpp.

◆ GPU() [2/3]

GPU::GPU ( const char *  szName)

Definition at line 34 of file physicresource.cpp.

◆ GPU() [3/3]

GPU::GPU ( const GPU res)

Definition at line 48 of file physicresource.cpp.

◆ ~GPU()

GPU::~GPU ( )
overridedefault

Member Function Documentation

◆ clone()

Node * GPU::clone ( )
overridevirtual

Implements yarp::manager::Node.

Definition at line 62 of file physicresource.cpp.

◆ getCompCompatibility()

const char* yarp::manager::GPU::getCompCompatibility ( )
inline

Definition at line 44 of file physicresource.h.

◆ getConstantMemory()

Capacity yarp::manager::GPU::getConstantMemory ( )
inline

Definition at line 47 of file physicresource.h.

◆ getCores()

size_t yarp::manager::GPU::getCores ( )
inline

Definition at line 42 of file physicresource.h.

◆ getFrequency()

double yarp::manager::GPU::getFrequency ( )
inline

Definition at line 43 of file physicresource.h.

◆ getGlobalMemory()

Capacity yarp::manager::GPU::getGlobalMemory ( )
inline

Definition at line 45 of file physicresource.h.

◆ getOverlap()

bool yarp::manager::GPU::getOverlap ( )
inline

Definition at line 50 of file physicresource.h.

◆ getRegisterPerBlock()

size_t yarp::manager::GPU::getRegisterPerBlock ( )
inline

Definition at line 48 of file physicresource.h.

◆ getSharedMemory()

Capacity yarp::manager::GPU::getSharedMemory ( )
inline

Definition at line 46 of file physicresource.h.

◆ getThreadPerBlock()

size_t yarp::manager::GPU::getThreadPerBlock ( )
inline

Definition at line 49 of file physicresource.h.

◆ satisfy()

bool GPU::satisfy ( GenericResource resource)
overridevirtual

Implements yarp::manager::GenericResource.

Definition at line 69 of file physicresource.cpp.

◆ setCompCompatibility()

void yarp::manager::GPU::setCompCompatibility ( const char *  cap)
inline

Definition at line 34 of file physicresource.h.

◆ setConstantMemory()

void yarp::manager::GPU::setConstantMemory ( Capacity  c)
inline

Definition at line 37 of file physicresource.h.

◆ setCores()

void yarp::manager::GPU::setCores ( size_t  n)
inline

Definition at line 32 of file physicresource.h.

◆ setFrequency()

void yarp::manager::GPU::setFrequency ( double  f)
inline

Definition at line 33 of file physicresource.h.

◆ setGlobalMemory()

void yarp::manager::GPU::setGlobalMemory ( Capacity  c)
inline

Definition at line 35 of file physicresource.h.

◆ setOverlap()

void yarp::manager::GPU::setOverlap ( bool  flag)
inline

Definition at line 40 of file physicresource.h.

◆ setResgisterPerBlock()

void yarp::manager::GPU::setResgisterPerBlock ( size_t  val)
inline

Definition at line 38 of file physicresource.h.

◆ setSharedMemory()

void yarp::manager::GPU::setSharedMemory ( Capacity  c)
inline

Definition at line 36 of file physicresource.h.

◆ setThreadPerBlock()

void yarp::manager::GPU::setThreadPerBlock ( size_t  val)
inline

Definition at line 39 of file physicresource.h.


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