Protocol++® (Protocolpp®)  v5.6.2
InterfacePP::jmmu Class Reference

Public Member Functions

 jmmu ()
 constructor
 
virtual ~jmmu ()=default
 standard deconstructor
 
void track (std::string packet, std::vector< uint8_t * > &pointers)
 
void set_mem (std::string packet, uint8_t *ptr)
 
void set_mem (std::string strm, ProtocolPP::jstream *ptr)
 
void free_mem (std::string packet)
 
void free ()
 free all pointers
 
 jmmu (jmmu &rhs)=delete
 
 jmmu (const jmmu &rhs)=delete
 

Member Function Documentation

◆ free_mem()

void InterfacePP::jmmu::free_mem ( std::string  packet)

free memory for the packet

Parameters
packetname of packet associated with pointer

◆ set_mem() [1/2]

void InterfacePP::jmmu::set_mem ( std::string  packet,
uint8_t *  ptr 
)

Track the memory pointer

Parameters
packetname of packet to associate pointer with
ptrbyte pointer for memory

◆ set_mem() [2/2]

void InterfacePP::jmmu::set_mem ( std::string  strm,
ProtocolPP::jstream ptr 
)

Track the stream memory pointer

Parameters
strmname of stream to associate pointer with
ptrstream pointer for memory

◆ track()

void InterfacePP::jmmu::track ( std::string  packet,
std::vector< uint8_t * > &  pointers 
)

Track the a set of memory pointers

Parameters
packetname of packet to associate pointer with
pointerstrack vector to hold pointers associated with packet

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