|
bool | load (const iv::file::xml::File &xml) |
|
bool | save (const std::shared_ptr< iv::file::xml::File > &xml) const |
|
void | update (const iv::diamar::Stations &other) |
|
bool | insertNetworkData (const iv::types::stationId &stationId, const std::shared_ptr< iv::model::comms::NetworkData > &networkData) |
|
void | changeNetworkId (const iv::types::networkId &previousNetworkID, const iv::types::networkId &newNetworkID) |
|
void | updateNetworkHeartbeatAndFailureChannelsTagsAndDescriptions (const types::networkId &networkId) |
|
bool | removeNetworkData (const iv::types::networkId &networkId) |
|
void | changeStationId (const iv::types::stationId &previousStationID, const iv::types::stationId &newStationID) |
|
bool | addDefaultStation (iv::types::stationId stationId) |
|
void | addStationDefaultNetworks (iv::types::stationId stationId, bool addLoggers=true, bool addRedundancy=true) |
|
std::shared_ptr< Station > | getStation (const iv::types::stationId &stationId=iv::system::retrieveHostName()) const |
| Gets the station that matches with the system host name.
|
|
const std::map< iv::types::stationId, std::shared_ptr< iv::diamar::Station > > & | getAll () const |
|
const std::map< iv::types::stationId, std::set< iv::types::networkId > > & | getStationWithNetworks () const |
|
void | addStation (const std::shared_ptr< Station > &station) |
|
void | clearStations () |
|
void | eraseStation (const iv::types::stationId &stationId) |
|
void | deleteNetwork (const iv::types::networkId &networkId) |
| Deletes a network.
|
|
std::vector< std::shared_ptr< iv::model::comms::NetworkData > > | getStationNetworksData (const iv::types::stationId &stationId=iv::system::retrieveHostName()) const |
|
std::weak_ptr< iv::model::comms::NetworkData > | getNetworkData (const iv::types::networkId &networkId) |
|
const std::map< iv::types::networkId, std::shared_ptr< iv::model::comms::NetworkData > > & | getNetworksData () const |
|
std::shared_ptr< Stations > | clone () const |
|
void | updateNetworks (const std::shared_ptr< Stations > &newStations) |
|
std::weak_ptr< Station > | getStationAt (uint32_t index) const |
|
std::weak_ptr< iv::model::comms::NetworkData > | getNetworkDataAt (uint32_t index) |
|
std::vector< iv::comms::api::ApiCommunicationInfo > | getAPICommInfoOfType (iv::comms::eNetworkType networkType, bool onlyEnabled, const iv::types::stationId &stationId=iv::system::retrieveHostName()) const |
|
bool | isMaster (const iv::types::stationId &stationId=iv::system::retrieveHostName()) const |
|
bool | isWatchcallMaster (const iv::types::stationId &stationId=iv::system::retrieveHostName()) const |
|
std::shared_ptr< Station > | getMaster () const |
|