|
| | RIPv2 ()=default |
| | RIPv2 (const RIPv2 &aSrc) |
| | RIPv2 (RIPv2 &&)=default |
| RIPv2 & | operator= (RIPv2 &&)=default |
| | ~RIPv2 () override=default |
| WsfComponent * | CloneComponent () const override |
| const int * | GetComponentRoles () const override |
| void * | QueryInterface (int aRole) override |
| bool | ProcessInput (UtInput &aInput) override |
| bool | Initialize (double aSimTime) override |
| RIPv2 * | Clone () const override |
| void | TurnOn (double aSimTime, Router *aRouterPtr) |
| bool | ShouldPropagateTruth () const override |
| graph::Graph * | GetGraph () const override |
| int | GetPriority () const override |
| std::vector< Address > | Routing (double aSimTime, const Address &aSendingInterface, size_t &aHopNumber, double &aCost, const wsf::comm::Message &aMessage) override |
| bool | Send (double aSimTime, Router::SendData &aData) override |
| bool | Receive (double aSimTime, const Address &aReceivingInterface, wsf::comm::Message &aMessage, bool &aOverrideForward) override |
| | ProtocolInterface ()=default |
| | ~ProtocolInterface () override=default |
| const char * | GetScriptClassName () const override |
| WsfStringId | GetComponentName () const override final |
| bool | operator< (const ProtocolInterface &aRhs) const |
| virtual void | PerfectCommAdded (double aSimTime, Comm *aCommPtr) |
| virtual void | PerfectCommRemoved (double aSimTime, Comm *aCommPtr) |
| virtual void | PerfectNetworkAdded (double aSimTime, Network *aNetworkPtr) |
| virtual void | PerfectNetworkRemoved (double aSimTime, Network *aNetworkPtr) |
| virtual void | PerfectCommEnabled (double aSimTime, Comm *aCommPtr) |
| virtual void | PerfectCommDisabled (double aSimTime, Comm *aCommPtr) |
| virtual void | PerfectConnectionAdded (double aSimTime, const Address &aSourceAddress, const Address &aDestinationAddress) |
| virtual void | PerfectConnectionRemoved (double aSimTime, const Address &aSourceAddress, const Address &aDestinationAddress) |
| virtual void | PerfectConnectionEnabled (double aSimTime, const Address &aSourceAddress, const Address &aDestinationAddress) |
| virtual void | PerfectConnectionDisabled (double aSimTime, const Address &aSourceAddress, const Address &aDestinationAddress) |
| | RouterComponent ()=default |
| | ~RouterComponent () override=default |
| Router * | GetRouter () const |
| WsfSimulation * | GetSimulation () const |
| NetworkManager * | GetNetworkManager () const |
| virtual void | Setup () |
| virtual void | PendingStart () |
| virtual bool | Initialize (double aSimTime) |
| virtual bool | Initialize2 (double aSimTime) |
| virtual bool | PreInitialize (double aSimTime) |
| virtual bool | ProcessInput (UtInput &aInput) |
| | WsfComponentT () |
| WsfComponentT & | operator= (const WsfComponentT &) noexcept |
| | ~WsfComponentT () override=default |
| virtual void | ComponentParentChanged (ParentType *aParentPtr) |
| ParentType * | GetComponentParent () const |
| void | SetComponentParent (ParentType *aParentPtr) |
| virtual | ~WsfComponent ()=default |
| virtual int | GetComponentInitializationOrder () const |
| template<typename T> |
| bool | QueryInterfaceT (T *&aRolePtr) |
| bool | ComponentHasRole (int aRole) |
| | Returns true if the component has the specified role.
|
| virtual void | PreInput () |
| | WsfObject () |
| | This is the constructor for the WsfObject class.
|
| | ~WsfObject () override |
| | This is the destructor for the WsfObject class.
|
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| | Get the string ID of the 'type' of the object.
|
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| | Assignment operator.
|
| template<typename T> |
| void | Serialize (T &aBuff) |
| | For XIO (de)serialization.
|
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
| bool wsf::comm::router::rip::RIPv2::Initialize |
( |
double | aSimTime | ) |
|
|
overridevirtual |
Perform phase 1 initialization. This is called by WsfPlatform::Initialize() during phase 1 initialization of the platform. The component should complete validation of input data that could not be done by ProcessInput, as well as any other functions to prepare for simulation use (subject to the next paragraph).
The order in which components are initialized is defined by GetComponentInitializationOrder. In general a component implementation of this method should not be dependent on the state of another component, i.e.: it should not assume that the other components Initialize() method has been called. If such a dependency exists one should use Initialize2() if possible, or specify a value GetComponentInitializationOrder to force things to initialize in a particular order.
- Parameters
-
| aSimTime | The current simulation time. |
- Returns
- true if successful or false if unsuccessful (bad input data, etc.)
- Note
- This method should NOT add any other components to the platform. This MUST be done in PreInitialize().
Reimplemented from wsf::comm::router::ProtocolInterface.
References wsf::comm::router::RouterComponent::GetSimulation(), WsfObserver::RouterTurnedOn(), and TurnOn().