-/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {}
public:
- constexpr ReadOptions() {}
+ constexpr ReadOptions() = default;
explicit constexpr operator bool() const { return value_ != 0; }
constexpr bool operator!() const { return value_ == 0; }
*/
class AddressSpace {
private:
- RemoteClient* process_;
+ RemoteSimulation* remote_simulation_;
public:
- explicit AddressSpace(RemoteClient* process) : process_(process) {}
+ explicit AddressSpace(RemoteSimulation* remote_simulation) : remote_simulation_(remote_simulation) {}
virtual ~AddressSpace() = default;
/** The process of this address space
*
- * This is where we can get debug informations, memory layout, etc.
+ * This is where we can get debug information, memory layout, etc.
*/
- simgrid::mc::RemoteClient* process() const { return process_; }
+ simgrid::mc::RemoteSimulation* get_remote_simulation() const { return remote_simulation_; }
/** Read data from the address space
*