Dataflow Runtime API
4.0.1.0
|
Provides an abstract base class for all remote object implementations. More...
#include <Imt.Base.Lib.Remoting/RemoteObjectAbs.h>
Public Member Functions | |
RemoteObjectAbs (int32_t const uniqueIdToAttach, RemotingSendServiceIfc *const pRemotingSendService=nullptr, RemotingServiceIfc *const pRemotingReceiveService=nullptr) | |
Constructor. More... | |
virtual | ~RemoteObjectAbs () |
Destructor. More... | |
virtual int32_t | getUniqueId () const |
virtual bool | send () |
virtual void | onReceive (::imt::base::core::serialization::Deserializer &deserializer) |
virtual void | attach (int32_t const uniqueId) |
virtual void | detach () |
Public Member Functions inherited from imt::base::lib::remoting::RemoteObjectIfc | |
virtual | ~RemoteObjectIfc () |
Destructor. More... | |
Public Member Functions inherited from imt::base::core::serialization::SerializableIfc | |
virtual | ~SerializableIfc () |
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 () const |
Gets the maximum number of bytes that can be transfered by one transmission. More... | |
Additional Inherited Members | |
Public Types inherited from imt::base::lib::remoting::RemoteObjectIfc | |
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 nullptr.
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.