xc
|
Load pattern container. More...
#include <MapLoadPatterns.h>
Public Types | |
typedef map_loadpatterns::iterator | iterator |
typedef map_loadpatterns::const_iterator | const_iterator |
Public Member Functions | |
MapLoadPatterns (LoadHandler *owr) | |
Default constructor. | |
~MapLoadPatterns (void) | |
Destructor. | |
void | clear (void) |
Clears all the load patterns. | |
const_iterator | begin (void) const |
const_iterator | end (void) const |
iterator | begin (void) |
iterator | end (void) |
size_t | size (void) const |
bool | empty (void) const |
const std::string | getCurrentLoadPatternId (void) const |
LoadPattern * | getCurrentLoadPatternPtr (void) |
const LoadPattern * | getCurrentLoadPatternPtr (void) const |
const std::string & | getCurrentLoadPattern (void) const |
void | setCurrentLoadPattern (const std::string &nmb) |
LoadPattern * | newLoadPattern (const std::string &, const std::string &) |
Define a LoadPattern object withe the type and the name being passed as parameters. More... | |
void | addToDomain (const std::string &) |
Adds the load pattern to the domain. | |
void | removeFromDomain (const std::string &) |
Remove the load pattern del domain. | |
void | removeAllFromDomain (void) |
Remove the loadpatterns del domain. | |
TimeSeries * | buscaTS (const int &) |
Returns a pointer to the TS cuyo dbTag being passed as parameter. More... | |
const TimeSeries * | buscaTS (const int &) const |
Returns a pointer to the TS cuyo nombre being passed as parameter. | |
TimeSeries * | buscaTS (const std::string &) |
Returns a pointer to the TimeSeries cuyo nombre being passed as parameter. | |
const TimeSeries * | buscaTS (const std::string &) const |
Returns a pointer to the TimeSeries cuyo nombre being passed as parameter. | |
LoadPattern * | buscaLoadPattern (const std::string &) |
Returns a pointer to the load pattern cuyo nombre being passed as parameter. | |
const LoadPattern * | buscaLoadPattern (const std::string &) const |
Returns a pointer to the load pattern cuyo nombre being passed as parameter. | |
LoadPattern * | buscaLoadPattern (const int &) |
Returns a pointer to the caso cuyo tag being passed as parameter. | |
const LoadPattern * | buscaLoadPattern (const int &) const |
Returns a pointer to the load pattern with the tag being passed as parameter. More... | |
const std::string & | getLoadPatternName (const LoadPattern *) const |
Returns the name of the load pattern pointed by the parameter. | |
TimeSeries * | newTimeSeries (const std::string &, const std::string &) |
Define a TimeSeries object with the type and name passed as parameters. More... | |
const std::string & | getCurrentTimeSeries (void) const |
void | setCurrentTimeSeries (const std::string &nmb) |
std::deque< std::string > | getNamesList (void) const |
Return the names of the load patterns. | |
boost::python::list | getKeys (void) const |
Return load case names. | |
const int & | getCurrentElementLoadTag (void) const |
void | setCurrentElementLoadTag (const int &n) |
const int & | getCurrentNodeLoadTag (void) const |
void | setCurrentNodeLoadTag (const int &n) |
int | sendSelf (CommParameters &) |
Sends object through the channel passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives object through the channel passed as parameter. | |
![]() | |
LoadHandlerMember (LoadHandler *owr) | |
Default constructor. | |
const LoadHandler * | getLoadHandler (void) const |
Returns the owner. | |
LoadHandler * | getLoadHandler (void) |
Returns the owner. | |
const Domain * | getDomain (void) const |
Returns the domain. | |
Domain * | getDomain (void) |
Returns the domain. | |
int & | getTagLP (void) |
Returns the tag para el siguiente load pattern. | |
const int & | getTagLP (void) const |
Returns the tag para el siguiente load pattern. | |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (const MovableObject &) |
Assignment operator. Doesn't copy the dbTag. | |
int | getClassTag (void) const |
Return the class identifier. | |
int | getDbTag (void) const |
Return the object identifier in the database. | |
int | getDbTag (CommParameters &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (CommParameters &) |
Sets the object identifier in the database if not already set. More... | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info . | |
virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID . | |
virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var . | |
virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Protected Member Functions | |
void | clear_time_series (void) |
Clears all the load patterns. | |
DbTagData & | getDbTagData (void) const |
Return a vector to store the dbTags of the class members. More... | |
int | sendData (CommParameters &cp) |
Send members through the channel passed as parameter. | |
int | recvData (const CommParameters &cp) |
Send members through the channel passed as parameter. | |
Friends | |
class | LoadHandler |
Load pattern container.
const XC::LoadPattern * XC::MapLoadPatterns::buscaLoadPattern | ( | const int & | tag | ) | const |
Returns a pointer to the load pattern with the tag being passed as parameter.
XC::TimeSeries * XC::MapLoadPatterns::buscaTS | ( | const int & | dbTag | ) |
Returns a pointer to the TS cuyo dbTag being passed as parameter.
se usa en LoadPattern::recvData.
|
protectedvirtual |
Return a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.
XC::LoadPattern * XC::MapLoadPatterns::newLoadPattern | ( | const std::string & | type, |
const std::string & | cod_lp | ||
) |
Define a LoadPattern object withe the type and the name being passed as parameters.
XC::TimeSeries * XC::MapLoadPatterns::newTimeSeries | ( | const std::string & | type, |
const std::string & | cod_ts | ||
) |
Define a TimeSeries object with the type and name passed as parameters.
It Interprets the following types: