|
| | NetworkStar ()=default |
| | NetworkStar (const std::string &aNetworkName, const Address &aAddress) |
| | ~NetworkStar () override=default |
| NetworkStar & | operator= (const NetworkStar &aRhs)=default |
| bool | ProcessInput (UtInput &aInput) override |
| NetworkStar * | Clone () const override |
| const char * | GetScriptClassName () const override |
| | Network ()=default |
| | ~Network () override=default |
| | Network (const std::string &aNetworkName, const Address &aAddress) |
| | Network (const Network &aSrc)=default |
| Network & | operator= (const Network &aRhs)=default |
| | Network (Network &&aSrc)=default |
| bool | InitializeLinkage (WsfSimulation &aSimulation) |
| const char * | GetScriptClassName () const override |
| virtual bool | Initialize (WsfSimulation &aSim) |
| bool | AddMember (const Address &aAddress, WsfSimulation &aSimulation, const Address &aOptionalAddress=Address()) |
| bool | RemoveMember (const Address &aAddress, WsfSimulation &aSimulation, const Address &aOptionalAddress=Address()) |
| bool | AddLink (const Address &aSourceAddress, const Address &aDestinationAddress, WsfSimulation &aSimulation, const Address &aOptionalAddress=Address()) |
| bool | RemoveLink (const Address &aSourceAddress, const Address &aDestinationAddress, WsfSimulation &aSimulation, const Address &aOptionalAddress=Address()) |
| void | SetAddress (const Address &aAddress) |
| void | SetIsManaged (bool aManaged) |
| const Address & | GetAddress () const |
| size_t | GetHostsMax () const |
| bool | IsManaged () const |
| const NamedList & | GetNamedMemberList () const |
| bool | HasMember (const Address &aAddress) const |
| | 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) |
|
| using | AddressList = std::vector<Address> |
| using | AddressLinkList = std::vector<std::pair<Address, Address>> |
| using | NamedList = std::vector<NamedComm> |
| using | NamedLinkList = std::vector<std::pair<NamedComm, NamedComm>> |
| typedef std::vector< WsfStringId > | TypeList |
| | The list of types returned by GetTypeList.
|
| static Address | GetAddressFromNamedComm (WsfStringId aPlatformName, WsfStringId aCommName, WsfSimulation &aSimulation) |
| virtual bool | AddLinkP (const Address &aSourceAddress, const Address &aDestinationAddress, WsfSimulation &aSimulation, const Address &aOptionalAddress=Address()) |
| virtual bool | RemoveLinkP (const Address &aSourceAddress, const Address &aDestinationAddress, WsfSimulation &aSimulation, const Address &aOptionalAddress=Address()) |
| virtual bool | ProcessAddressListInput (UtInput &aInput) |
| virtual bool | ProcessAddressLinkListInput (UtInput &aInput) |
| virtual bool | ProcessNamedListInput (UtInput &aInput) |
| virtual bool | ProcessNamedLinkListInput (UtInput &aInput) |
| | WsfObject (const WsfObject &aSrc) |
| | Copy constructor (for Clone()).
|
| Address | mAddress {} |
| AddressList | mAddressList {} |
| AddressList | mInputAddressList {} |
| AddressLinkList | mAddressLinkList {} |
| AddressLinkList | mInputAddressLinkList {} |
| | Same case as "mInputAddressList" above, except with link definitions.
|
| NamedList | mNamedList {} |
| NamedLinkList | mNamedLinkList {} |
| bool | mManaged {false} |
| | True if this network is being managed by the simulation.
|
A network implementation, where all comms have bi-directional linkage to a single member.
| bool wsf::comm::NetworkStar::InitializeLinkageP |
( |
WsfSimulation & | aSimulation | ) |
|
|
overrideprotectedvirtual |
Check for existence of hub, and convert to an address, if necessary.
The user may later set the hub, but for now, we can't initialize any links since we don't have a hub. Warn the user, but continue.
Reimplemented from wsf::comm::Network.
References AddMemberP(), wsf::comm::Network::GetAddressFromNamedComm(), WsfObject::GetType(), wsf::comm::Network::mAddressList, mHubAddress, mHubNamed, and ok.
Referenced by AddHub().
| bool wsf::comm::NetworkStar::ProcessInput |
( |
UtInput & | aInput | ) |
|
|
overridevirtual |