Back to index

salome-kernel  6.5.0
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Member Functions | Private Attributes
CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT > Class Template Reference

Receiver used for transfert with CORBA when no copy is required remotely and locally. More...

#include <Receivers.hxx>

Inheritance diagram for CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >:
Inheritance graph
[legend]
Collaboration diagram for CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CorbaNCNoCopyReceiver (CorbaSender mySender)
 ~CorbaNCNoCopyReceiver ()
T * getValue (long &size)

Protected Member Functions

virtual T * getValue (long &size, servForTsender)

Static Protected Member Functions

static T * getLocalValue (long &size, ptrForT *servant)

Private Member Functions

T * getDistValue (long &size)

Private Attributes

CorbaSender _mySender

Detailed Description

template<class T, class TCorba, class TSeqCorba, class CorbaSender, class servForT, class ptrForT>
class CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >

Receiver used for transfert with CORBA when no copy is required remotely and locally.

Definition at line 36 of file Receivers.hxx.


Constructor & Destructor Documentation

template<class T , class TCorba , class TSeqCorba , class CorbaSender , class servForT , class ptrForT >
CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >::CorbaNCNoCopyReceiver ( CorbaSender  mySender)

Definition at line 30 of file Receivers.cxx.

                                                                                                                 :_mySender(mySender){
}
template<class T , class TCorba , class TSeqCorba , class CorbaSender , class servForT , class ptrForT >
CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >::~CorbaNCNoCopyReceiver ( )

Definition at line 34 of file Receivers.cxx.

                                                                                              {
  _mySender->release();
}

Member Function Documentation

template<class T , class TCorba , class TSeqCorba , class CorbaSender , class servForT , class ptrForT >
T * CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >::getDistValue ( long &  size) [private, virtual]

Implements Receiver< T, servForT, ptrForT >.

Definition at line 39 of file Receivers.cxx.

{
  TSeqCorba seq=_mySender->send();
  size=seq->length();
  return (T *)seq->get_buffer(1);
}
static T* Receiver< T, servForT , ptrForT >::getLocalValue ( long &  size,
ptrForT *  servant 
) [inline, static, protected, inherited]
virtual T* Receiver< T, servForT , ptrForT >::getValue ( long &  size,
servForT  sender 
) [protected, virtual, inherited]
template<class T , class TCorba , class TSeqCorba , class CorbaSender , class servForT , class ptrForT >
T * CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >::getValue ( long &  size) [virtual]

Implements Receiver< T, servForT, ptrForT >.

Definition at line 47 of file Receivers.cxx.

Here is the call graph for this function:


Member Data Documentation

template<class T , class TCorba , class TSeqCorba , class CorbaSender , class servForT , class ptrForT >
CorbaSender CorbaNCNoCopyReceiver< T, TCorba, TSeqCorba, CorbaSender, servForT, ptrForT >::_mySender [private]

Definition at line 39 of file Receivers.hxx.


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