xc
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members

Load pattern container. More...

#include <MapLoadPatterns.h>

Inheritance diagram for XC::MapLoadPatterns:
XC::LoadHandlerMember XC::MovableObject XC::DistributedBase

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
 
LoadPatterngetCurrentLoadPatternPtr (void)
 
const LoadPatterngetCurrentLoadPatternPtr (void) const
 
const std::string & getCurrentLoadPattern (void) const
 
void setCurrentLoadPattern (const std::string &nmb)
 
LoadPatternnewLoadPattern (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.
 
TimeSeriesbuscaTS (const int &)
 Returns a pointer to the TS cuyo dbTag being passed as parameter. More...
 
const TimeSeriesbuscaTS (const int &) const
 Returns a pointer to the TS cuyo nombre being passed as parameter.
 
TimeSeriesbuscaTS (const std::string &)
 Returns a pointer to the TimeSeries cuyo nombre being passed as parameter.
 
const TimeSeriesbuscaTS (const std::string &) const
 Returns a pointer to the TimeSeries cuyo nombre being passed as parameter.
 
LoadPatternbuscaLoadPattern (const std::string &)
 Returns a pointer to the load pattern cuyo nombre being passed as parameter.
 
const LoadPatternbuscaLoadPattern (const std::string &) const
 Returns a pointer to the load pattern cuyo nombre being passed as parameter.
 
LoadPatternbuscaLoadPattern (const int &)
 Returns a pointer to the caso cuyo tag being passed as parameter.
 
const LoadPatternbuscaLoadPattern (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.
 
TimeSeriesnewTimeSeries (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.
 
- Public Member Functions inherited from XC::LoadHandlerMember
 LoadHandlerMember (LoadHandler *owr)
 Default constructor.
 
const LoadHandlergetLoadHandler (void) const
 Returns the owner.
 
LoadHandlergetLoadHandler (void)
 Returns the owner.
 
const DomaingetDomain (void) const
 Returns the domain.
 
DomaingetDomain (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.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (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 &param)
 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.
 
- Public Member Functions inherited from XC::DistributedBase
 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.
 
DbTagDatagetDbTagData (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
 

Detailed Description

Load pattern container.

Member Function Documentation

§ buscaLoadPattern()

const XC::LoadPattern * XC::MapLoadPatterns::buscaLoadPattern ( const int &  tag) const

Returns a pointer to the load pattern with the tag being passed as parameter.

§ buscaTS()

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.

§ getDbTagData()

XC::DbTagData & XC::MapLoadPatterns::getDbTagData ( void  ) const
protectedvirtual

Return a vector to store the dbTags of the class members.

Reimplemented from XC::DistributedBase.

§ newLoadPattern()

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.

§ newTimeSeries()

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:


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