XC Open source finite element analysis program
|
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>
Public Member Functions | |
Channel (void) | |
Constructor. | |
virtual char * | addToProgram (void)=0 |
virtual int | setUpConnection (void)=0 |
virtual int | setNextAddress (const ChannelAddress &theAddress)=0 |
virtual ChannelAddress * | getLastSendersAddress (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 ID & | getUsedTags (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. | |
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.