|
SST/macro
|
#include <packet.h>


Public Member Functions | |
| message * | orig () const |
| virtual std::string | to_string () const |
| bool | is_tail () const |
| int | byte_length () const |
| uint64_t | unique_id () const |
| void | add_delay_us (double delay_us) |
| double | delay_us () const |
| virtual void | serialize_order (serializer &ser) |
| virtual bool | is_packet () const |
| convenience methods More... | |
| virtual node_id | toaddr () const =0 |
| virtual node_id | fromaddr () const =0 |
| long | byte_offset () const |
Public Member Functions inherited from sstmac::event | |
| virtual bool | is_credit () const |
| virtual bool | is_failure () const |
| template<class T > | |
| T * | interface () |
Public Member Functions inherited from sprockit::serializable | |
| virtual const char * | cls_name () const =0 |
| virtual uint32_t | cls_id () const =0 |
| virtual | ~serializable () |
Protected Member Functions | |
| packet () | |
| packet (message *orig, long num_bytes, long byte_offset) | |
Protected Attributes | |
| message * | orig_ |
| int | num_bytes_ |
| long | byte_offset_ |
| uint64_t | unique_id_ |
| double | cumulative_delay_us_ |
Additional Inherited Members | |
Protected Types inherited from sprockit::serializable | |
| enum | cxn_flag_t { ConstructorFlag } |
|
inlineprotected |
Definition at line 71 of file packet.h.
References byte_offset(), and orig().

|
protected |
|
inline |
Definition at line 42 of file packet.h.
References cumulative_delay_us_, and delay_us().

|
inline |
Definition at line 32 of file packet.h.
References num_bytes_.
|
inline |
|
inline |
Definition at line 47 of file packet.h.
References cumulative_delay_us_, and serialize_order().
Referenced by add_delay_us().

|
pure virtual |
Referenced by is_packet().
|
inlinevirtual |
convenience methods
Reimplemented from sstmac::event.
Definition at line 55 of file packet.h.
References fromaddr(), and toaddr().

|
inline |
|
inline |
|
virtual |
Reimplemented from sstmac::event.
Referenced by delay_us().
|
inlinevirtual |
Implements sstmac::event.
|
pure virtual |
Referenced by is_packet().
|
inline |
Definition at line 37 of file packet.h.
References unique_id_.
|
protected |
Definition at line 83 of file packet.h.
Referenced by byte_offset().
|
protected |
Definition at line 87 of file packet.h.
Referenced by add_delay_us(), and delay_us().
|
protected |
Definition at line 81 of file packet.h.
Referenced by byte_length().
|
protected |
|
protected |
Definition at line 85 of file packet.h.
Referenced by unique_id().
1.8.11