SST/macro
Public Member Functions | Public Attributes | List of all members
sstmac::hw::unique_event_id Struct Reference

#include <unique_id.h>

Collaboration diagram for sstmac::hw::unique_event_id:
Collaboration graph

Public Member Functions

 unique_event_id (uint32_t src, uint32_t num)
 
 unique_event_id ()
 
 operator uint64_t () const
 
std::string to_string () const
 
void set_src_node (uint32_t src)
 
void set_seed (uint32_t seed)
 
unique_event_idoperator++ ()
 
unique_event_id operator++ (int)
 

Public Attributes

uint32_t src_node
 
uint32_t msg_num
 

Detailed Description

Definition at line 13 of file unique_id.h.

Constructor & Destructor Documentation

sstmac::hw::unique_event_id::unique_event_id ( uint32_t  src,
uint32_t  num 
)
inline

Definition at line 17 of file unique_id.h.

sstmac::hw::unique_event_id::unique_event_id ( )
inline

Definition at line 21 of file unique_id.h.

Member Function Documentation

sstmac::hw::unique_event_id::operator uint64_t ( ) const
inline

Definition at line 25 of file unique_id.h.

References msg_num.

unique_event_id& sstmac::hw::unique_event_id::operator++ ( )
inline

Definition at line 49 of file unique_id.h.

References msg_num.

unique_event_id sstmac::hw::unique_event_id::operator++ ( int  )
inline

Definition at line 54 of file unique_id.h.

References msg_num, and START_SERIALIZATION_NAMESPACE.

void sstmac::hw::unique_event_id::set_seed ( uint32_t  seed)
inline

Definition at line 45 of file unique_id.h.

void sstmac::hw::unique_event_id::set_src_node ( uint32_t  src)
inline

Definition at line 40 of file unique_id.h.

std::string sstmac::hw::unique_event_id::to_string ( ) const
inline

Definition at line 33 of file unique_id.h.

Member Data Documentation

uint32_t sstmac::hw::unique_event_id::msg_num

Definition at line 15 of file unique_id.h.

Referenced by operator uint64_t(), and operator++().

uint32_t sstmac::hw::unique_event_id::src_node

Definition at line 14 of file unique_id.h.


The documentation for this struct was generated from the following file: