XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | List of all members
XC::Channel Class Referenceabstract

Channel is an abstract base class which defines the channel interface. A channel is a point of communication in a program, a mailbox to/from which data enters/leaves a program. More...

#include <Channel.h>

Inheritance diagram for XC::Channel:
XC::FE_Datastore XC::MPI_Channel XC::TCP_Socket XC::TCP_SocketNoDelay XC::UDP_Socket XC::DBDatastore XC::FileDatastore XC::NEESData XC::BerkeleyDbDatastore XC::MySqlDatastore XC::OracleDatastore XC::SQLiteDatastore

Public Member Functions

 Channel (void)
 Constructor.
 
virtual char * addToProgram (void)=0
 
virtual int setUpConnection (void)=0
 
virtual int setNextAddress (const ChannelAddress &theAddress)=0
 
virtual ChannelAddressgetLastSendersAddress (void)=0
 
virtual bool isDatastore (void) const
 
virtual int getDbTag (void) const
 
bool checkDbTag (const int &dbTag)
 Comprueba si ya se ha usado este dbTag.
 
const IDgetUsedTags (void) const
 Return the lista de dbTags usados.
 
void clearDbTags (void)
 
int getTag (void) const
 
virtual int sendObj (int commitTag, MovableObject &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvObj (int commitTag, MovableObject &, FEM_ObjectBroker &, ChannelAddress *theAddress=nullptr)=0
 
template<class inputIterator >
int sendObjs (int commitTag, const inputIterator &first, const inputIterator &last, ChannelAddress *theAddress=nullptr)
 Send the objects on interval [first,last).
 
template<class inputIterator >
int recvObjs (int commitTag, const inputIterator &first, const inputIterator &last, FEM_ObjectBroker &, ChannelAddress *theAddress=nullptr)
 Recibe una serie de objetos.
 
virtual int sendMsg (int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvMsg (int dbTag, int commitTag, Message &, ChannelAddress *theAddress=nullptr)=0
 
virtual int sendMatrix (int dbTag, int commitTag, const Matrix &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvMatrix (int dbTag, int commitTag, Matrix &, ChannelAddress *theAddress=nullptr)=0
 
virtual int sendVector (int dbTag, int commitTag, const Vector &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvVector (int dbTag, int commitTag, Vector &, ChannelAddress *theAddress=nullptr)=0
 
virtual int sendID (int dbTag, int commitTag, const ID &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvID (int dbTag, int commitTag, ID &, ChannelAddress *theAddress=nullptr)=0
 

Protected Member Functions

int sendMovable (int commitTag, MovableObject &)
 Envía el objeto a través de éste canal.
 
int receiveMovable (int commitTag, MovableObject &, FEM_ObjectBroker &)
 Recibe el objeto a través de éste canal.
 

Detailed Description

Channel is an abstract base class which defines the channel interface. A channel is a point of communication in a program, a mailbox to/from which data enters/leaves a program.


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