MPPool Class Reference

#include <armarx/control/common/mp/MPPool.h>

+ Inheritance diagram for MPPool:

Public Member Functions

void createMPs (const MP::MPListConfig &mpListConfig)
 
Ice::DoubleSeq deserialize (const std::string &, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
Ice::Double getCanVal (const std::string &mpName, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
bool getMPEnabled (const Ice::Current &) override
 
std::string getNames (const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 Interface functions. More...
 
bool isFinished (const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void learnFromCSV (const Ice::StringSeq &fileNames=std::vector< std::string >(), const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 setting More...
 
 MPPool ()
 
void pause (const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void reconfigureMPs (const MP::MPListConfig &mpListConfig)
 
void removeAllViaPoint (const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void reset (const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void resume (const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void runMPs ()
 
std::string serialize (const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 serialze More...
 
void setGoal (const Ice::DoubleSeq &goals, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void setStartAndGoal (const Ice::DoubleSeq &starts, const Ice::DoubleSeq &goals, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void setViaPoint (Ice::Double u, const Ice::DoubleSeq &viapoint, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
void start (const std::string &mpName="all", const Ice::DoubleSeq &startVec=std::vector< double >(), const Ice::DoubleSeq &goalVec=std::vector< double >(), Ice::Double timeDuration=-1.0, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 control More...
 
void stop (const std::string &mpName="all", const Ice::Current &iceCurrent=Ice::emptyCurrent) override
 
 ~MPPool ()
 
- Public Member Functions inherited from MPPoolInterface
Ice::DoubleSeq deserialize (string mpAsString)
 
double getCanVal (string mpName)
 utilities More...
 
bool getMPEnabled ()
 
string getNames ()
 
bool isFinished (string mpName)
 
void learnFromCSV (Ice::StringSeq fileNames)
 setting More...
 
void pause (string mpName)
 
void removeAllViaPoint ()
 
void reset (string mpName)
 
void resume (string mpName)
 
string serialize ()
 serialze More...
 
void setGoal (Ice::DoubleSeq goals)
 
void setStartAndGoal (Ice::DoubleSeq starts, Ice::DoubleSeq goals)
 
void setViaPoint (double u, Ice::DoubleSeq viapoint)
 
void start (string mpName, Ice::DoubleSeq startVec, Ice::DoubleSeq goalVec, double durationSec)
 control More...
 
void stop (string mpName)
 

Protected Attributes

std::map< std::string, MPInputOutputmps
 

Detailed Description

Definition at line 45 of file MPPool.h.

Constructor & Destructor Documentation

◆ MPPool()

MPPool ( )
inline

Definition at line 49 of file MPPool.h.

◆ ~MPPool()

~MPPool ( )
inline

Definition at line 50 of file MPPool.h.

Member Function Documentation

◆ createMPs()

void createMPs ( const MP::MPListConfig mpListConfig)

Definition at line 15 of file MPPool.cpp.

+ Here is the caller graph for this function:

◆ deserialize()

Ice::DoubleSeq deserialize ( const std::string &  ,
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 281 of file MPPool.cpp.

◆ getCanVal()

Ice::Double getCanVal ( const std::string &  mpName,
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 287 of file MPPool.cpp.

◆ getMPEnabled()

bool getMPEnabled ( const Ice::Current &  )
override

Definition at line 301 of file MPPool.cpp.

◆ getNames()

std::string getNames ( const Ice::Current &  iceCurrent = Ice::emptyCurrent)
override

Interface functions.

Definition at line 76 of file MPPool.cpp.

◆ isFinished()

bool isFinished ( const std::string &  mpName = "all",
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 210 of file MPPool.cpp.

+ Here is the caller graph for this function:

◆ learnFromCSV()

void learnFromCSV ( const Ice::StringSeq &  fileNames = std::vector<std::string>(),
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

setting

Definition at line 238 of file MPPool.cpp.

◆ pause()

void pause ( const std::string &  mpName = "all",
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 141 of file MPPool.cpp.

◆ reconfigureMPs()

void reconfigureMPs ( const MP::MPListConfig mpListConfig)

Definition at line 62 of file MPPool.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeAllViaPoint()

void removeAllViaPoint ( const Ice::Current &  iceCurrent = Ice::emptyCurrent)
override

Definition at line 266 of file MPPool.cpp.

◆ reset()

void reset ( const std::string &  mpName = "all",
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 187 of file MPPool.cpp.

◆ resume()

void resume ( const std::string &  mpName = "all",
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 164 of file MPPool.cpp.

◆ runMPs()

void runMPs ( )

Definition at line 68 of file MPPool.cpp.

+ Here is the caller graph for this function:

◆ serialize()

std::string serialize ( const Ice::Current &  iceCurrent = Ice::emptyCurrent)
override

serialze

Definition at line 276 of file MPPool.cpp.

◆ setGoal()

void setGoal ( const Ice::DoubleSeq &  goals,
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 248 of file MPPool.cpp.

◆ setStartAndGoal()

void setStartAndGoal ( const Ice::DoubleSeq &  starts,
const Ice::DoubleSeq &  goals,
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 253 of file MPPool.cpp.

◆ setViaPoint()

void setViaPoint ( Ice::Double  u,
const Ice::DoubleSeq &  viapoint,
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 261 of file MPPool.cpp.

◆ start()

void start ( const std::string &  mpName = "all",
const Ice::DoubleSeq &  startVec = std::vector<double>(),
const Ice::DoubleSeq &  goalVec = std::vector<double>(),
Ice::Double  timeDuration = -1.0,
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

control

Definition at line 86 of file MPPool.cpp.

+ Here is the call graph for this function:

◆ stop()

void stop ( const std::string &  mpName = "all",
const Ice::Current &  iceCurrent = Ice::emptyCurrent 
)
override

Definition at line 118 of file MPPool.cpp.

Member Data Documentation

◆ mps

std::map<std::string, MPInputOutput> mps
protected

Definition at line 91 of file MPPool.h.


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