* For now, you cannot change the mountpoints programmatically, and must declare them from your platform file.
*/
class XBT_PUBLIC File : public xbt::Extendable<File> {
- sg_size_t size_;
+ sg_size_t size_ = 0;
std::string path_;
std::string fullpath_;
sg_size_t current_position_ = SEEK_SET;
double loopback_bw = 0;
double loopback_lat = 0;
double limiter_link = 0;
- ClusterTopology topology;
+ ClusterTopology topology = ClusterTopology::FLAT;
std::string topo_parameters;
- std::unordered_map<std::string, std::string>* properties;
+ std::unordered_map<std::string, std::string>* properties = nullptr;
std::string router_id;
- simgrid::s4u::Link::SharingPolicy sharing_policy;
- simgrid::s4u::Link::SharingPolicy bb_sharing_policy;
+ simgrid::s4u::Link::SharingPolicy sharing_policy = simgrid::s4u::Link::SharingPolicy::SPLITDUPLEX;
+ simgrid::s4u::Link::SharingPolicy bb_sharing_policy = simgrid::s4u::Link::SharingPolicy::SHARED;
};
class CabinetCreationArgs {