QuISP
Loading...
Searching...
No Matches
quisp_test::gate::TestGate Class Reference

this class can store received messages currently this class only for output gate. we may need to adapt input gate. More...

#include <Gate.h>

Inheritance diagram for quisp_test::gate::TestGate:
Collaboration diagram for quisp_test::gate::TestGate:

Public Member Functions

 TestGate (cModule *mod, const char *name)
 

Public Attributes

std::vector< cMessage * > messages
 

Protected Member Functions

bool deliver (cMessage *msg, const omnetpp::SendOptions &options, simtime_t at) override
 this method called when a module sent cMessage to this gate. and then store the msg into messages
 

Protected Attributes

TempGate temp_gate
 

Detailed Description

this class can store received messages currently this class only for output gate. we may need to adapt input gate.

Constructor & Destructor Documentation

◆ TestGate()

quisp_test::gate::TestGate::TestGate ( cModule * mod,
const char * name )
explicit

Member Function Documentation

◆ deliver()

bool quisp_test::gate::TestGate::deliver ( cMessage * msg,
const omnetpp::SendOptions & options,
simtime_t at )
overrideprotected

this method called when a module sent cMessage to this gate. and then store the msg into messages

Member Data Documentation

◆ messages

std::vector<cMessage *> quisp_test::gate::TestGate::messages

◆ temp_gate

TempGate quisp_test::gate::TestGate::temp_gate
protected

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