Skip to main content

serializeEventAttachPointKey

virtual void serializeEventAttachPointKey(SST::Core::Serialization::serializer& ser, uintptr_t& key);

This does not need to be implemented unless overriding registerLinkAttachTool. It is used to serialize the otherwise opaque key returned by that function.

Parameters

  • ser (serializer&) Serializer to use for serialization
  • key (uintptr_t&) The key to serialize
  • returns none

Example

void
PortModule::serializeEventAttachPointKey(SST::Core::Serialization::serializer& ser, uintptr_t& key)
{
if ( ser.mode() == SST::Core::Serialization::serializer::UNPACK ) {
key = 0;
}
}
#include <sst/core/portModule.h>