SOLA
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
minhton::LeaveAlgorithmInterface Class Referenceabstract
Inheritance diagram for minhton::LeaveAlgorithmInterface:
minhton::AlgorithmInterface minhton::LeaveAlgorithmGeneral minhton::MinhtonLeaveAlgorithm MinhtonLeaveAlgorithmForTest

Public Member Functions

 LeaveAlgorithmInterface (std::shared_ptr< AccessContainer > access)
 
void process (const MessageVariant &msg) override=0
 
virtual void initiateSelfDeparture ()=0
 
virtual bool canLeaveWithoutReplacement ()=0
 
virtual void replaceMyself (const NodeInfo &node_to_replace, std::vector< NodeInfo > neighbors_of_node_to_replace)=0
 
- Public Member Functions inherited from minhton::AlgorithmInterface
 AlgorithmInterface (std::shared_ptr< AccessContainer > access)
 

Static Public Member Functions

static std::vector< MessageTypegetSupportedMessageTypes ()
 

Additional Inherited Members

- Protected Member Functions inherited from minhton::AlgorithmInterface
void send (const MessageVariant &msg)
 
std::shared_ptr< RoutingInformationgetRoutingInfo () const
 
NodeInfo getSelfNodeInfo () const
 
- Protected Attributes inherited from minhton::AlgorithmInterface
std::shared_ptr< AccessContaineraccess_
 

Member Function Documentation

◆ canLeaveWithoutReplacement()

virtual bool minhton::LeaveAlgorithmInterface::canLeaveWithoutReplacement ( )
pure virtual

◆ initiateSelfDeparture()

virtual void minhton::LeaveAlgorithmInterface::initiateSelfDeparture ( )
pure virtual

◆ process()

void minhton::LeaveAlgorithmInterface::process ( const MessageVariant &  msg)
overridepure virtual

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