replicode
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Attributes | List of all members
mBrane::sdk::_Payload Class Reference

#include <payload.h>

Inheritance diagram for mBrane::sdk::_Payload:
Inheritance graph
Collaboration diagram for mBrane::sdk::_Payload:
Collaboration graph

Public Types

enum  Category { CONTROL = 0, DATA = 1, STREAM = 2 }
 

Public Member Functions

virtual ~_Payload ()
 
Category category () const
 
uint64_t & node_send_ts ()
 
uint64_t & node_recv_ts ()
 
uint64_t & send_ts ()
 
uint64_t & recv_ts ()
 
virtual payloads::_Messageas_Message ()
 
virtual payloads::_StreamDataas_StreamData ()
 
void setOID (uint8_t NID)
 
void setOID ()
 
uint32_t getOID () const
 
uint32_t getID () const
 
uint8_t getNID () const
 
- Public Member Functions inherited from mBrane::sdk::__Payload
virtual ~__Payload ()
 
virtual uint16_t cid () const =0
 
virtual void init ()
 
virtual size_t size () const =0
 
virtual uint16_t ptrCount () const
 
virtual __PayloadgetPtr (uint16_t i) const
 
virtual void setPtr (uint16_t i, __Payload *p)
 
virtual bool isShared () const
 
virtual bool isConstant () const
 
- Public Member Functions inherited from core::_Object
virtual ~_Object ()
 
void incRef ()
 
virtual void decRef ()
 

Protected Member Functions

 _Payload ()
 
- Protected Member Functions inherited from mBrane::sdk::__Payload
 __Payload ()
 
- Protected Member Functions inherited from core::_Object
 _Object ()
 

Protected Attributes

uint64_t _node_recv_ts
 
uint64_t _recv_ts
 
uint64_t _metaData
 
uint64_t _node_send_ts
 
uint64_t _send_ts
 
- Protected Attributes inherited from core::_Object
std::atomic_int refCount
 

Static Private Attributes

static uint32_t LastConstantOID = 0
 
static uint32_t LastSharedOID = 0
 

Member Enumeration Documentation

Enumerator
CONTROL 
DATA 
STREAM 

Constructor & Destructor Documentation

mBrane::sdk::_Payload::_Payload ( )
protected
mBrane::sdk::_Payload::~_Payload ( )
virtual

Member Function Documentation

payloads::_Message * mBrane::sdk::_Payload::as_Message ( )
virtual
payloads::_StreamData * mBrane::sdk::_Payload::as_StreamData ( )
virtual

Reimplemented in mBrane::sdk::payloads::StreamData< U, M >.

Here is the caller graph for this function:

_Payload::Category mBrane::sdk::_Payload::category ( ) const

Here is the caller graph for this function:

uint32_t mBrane::sdk::_Payload::getID ( ) const

Here is the caller graph for this function:

uint8_t mBrane::sdk::_Payload::getNID ( ) const
uint32_t mBrane::sdk::_Payload::getOID ( ) const

Here is the caller graph for this function:

uint64_t & mBrane::sdk::_Payload::node_recv_ts ( )

Here is the caller graph for this function:

uint64_t & mBrane::sdk::_Payload::node_send_ts ( )

Here is the caller graph for this function:

uint64_t & mBrane::sdk::_Payload::recv_ts ( )

Here is the caller graph for this function:

uint64_t & mBrane::sdk::_Payload::send_ts ( )

Here is the caller graph for this function:

void mBrane::sdk::_Payload::setOID ( uint8_t  NID)

Here is the caller graph for this function:

void mBrane::sdk::_Payload::setOID ( )

Member Data Documentation

uint64_t mBrane::sdk::_Payload::_metaData
protected
uint64_t mBrane::sdk::_Payload::_node_recv_ts
protected
uint64_t mBrane::sdk::_Payload::_node_send_ts
protected
uint64_t mBrane::sdk::_Payload::_recv_ts
protected
uint64_t mBrane::sdk::_Payload::_send_ts
protected
uint32_t mBrane::sdk::_Payload::LastConstantOID = 0
staticprivate
uint32_t mBrane::sdk::_Payload::LastSharedOID = 0
staticprivate

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