![]() |
Dataflow Runtime API
3.0.3.0
|
Provides an abstract base class for all remote object implementations. More...
#include <Imt.Base.Lib.Remoting/RemoteObjectAbs.h>
Public Member Functions | |
RemoteObjectAbs (const int32_t uniqueIdToAttach, RemotingSendServiceIfc *const pRemotingSendService=NULL, RemotingServiceIfc *const pRemotingReceiveService=NULL) | |
Constructor. More... | |
virtual | ~RemoteObjectAbs (void) |
Destructor. More... | |
virtual int32_t | getUniqueId (void) const |
virtual bool | send (void) |
virtual void | onReceive (imt::base::core::serialization::Deserializer &deserializer) |
virtual void | attach (const int32_t uniqueId) |
virtual void | detach (void) |
![]() | |
virtual | ~RemoteObjectIfc (void) |
Destructor. More... | |
![]() | |
virtual | ~SerializableIfc (void) |
Destructor. More... | |
virtual void | deserialize (Deserializer &deserializer)=0 |
Deserialize this object from the given deserializer. More... | |
virtual void | serialize (Serializer &serializer) const =0 |
Serialize this object into the given serializer. More... | |
Protected Member Functions | |
virtual uint32_t | getMaxTransferSize (void) const |
Gets the maximum number of bytes that can be transfered by one transmission. More... | |
Additional Inherited Members | |
![]() | |
enum | { UNDEFINED_ID = -1 } |
Provides an abstract base class for all remote object implementations.
The user of this class only has to override the methods serialize and deserialize (
|
explicit |
Constructor.
Attaches itself automatically at the remotingService if a valid Id is passed and the service is not NULL.
uniqueIdToAttach | Unique ID to attach to RemotingService |
pRemotingSendService | The sending service to which this object will be attached |
pRemotingReceiveService | The receiving service to which this object will be attached |
|
virtual |
Destructor.
|
virtual |
Implements imt::base::lib::remoting::RemoteObjectIfc.
|
virtual |
Implements imt::base::lib::remoting::RemoteObjectIfc.
|
protectedvirtual |
Gets the maximum number of bytes that can be transfered by one transmission.
|
virtual |
Implements imt::base::lib::remoting::RemoteObjectIfc.
|
virtual |
Implements imt::base::lib::remoting::RemoteObjectIfc.
|
virtual |
Implements imt::base::lib::remoting::RemoteObjectIfc.