cPlaceholderModule Class Reference

Parallel Simulation API: cPlaceholderModule Class Reference
Parallel Simulation API
cPlaceholderModule Class Reference

Public Member Functions

Constructors, destructor, assignment.
 cPlaceholderModule ()
virtual ~cPlaceholderModule ()
Redefined cObject member functions.
virtual std::string str () const override
Redefined cModule functions
virtual bool isPlaceholder () const override
virtual void arrived (cMessage *msg, cGate *ongate, const SendOptions &options, simtime_t t) override
virtual void scheduleStart (simtime_t t) override

Description

In distributed parallel simulation, modules of the network are distributed across partitions.

Represents a module which was instantiated on a remote partition.

Constructor & Destructor Documentation

◆ cPlaceholderModule()

cPlaceholderModule ( )
inline

Constructor. Note that module objects should not be created directly, only via their cModuleType objects. See cModule constructor for more info.

◆ ~cPlaceholderModule()

virtual ~cPlaceholderModule ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ str()

virtual std::string str ( ) const
overridevirtual

Produces a one-line description of the object's contents. See cObject for more details.

◆ isPlaceholder()

virtual bool isPlaceholder ( ) const
inlineoverridevirtual

Redefined to return true.

◆ arrived()

virtual void arrived ( cMessage * msg,
cGate * ongate,
const SendOptions & options,
simtime_t t )
overridevirtual

Not implemented: throws an exception when called.

◆ scheduleStart()

virtual void scheduleStart ( simtime_t t)
overridevirtual

Does nothing.