- "You got another thing comin'" -- Judas Priest
- Add get_request() method to (Dynamic)SubRequest. - Implement most of ConcreteHistory. It is a fairly complex class, with some real evilness in it. It should be thouroughly documented ASAP. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@699 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
68b92db976
commit
cb8e8dabc7
13 changed files with 212 additions and 104 deletions
|
@ -47,9 +47,6 @@ namespace sgpem
|
|||
{
|
||||
|
||||
public:
|
||||
typedef std::vector<Process*> Processes;
|
||||
typedef std::map<resource_key_t, Resource*> Resources;
|
||||
|
||||
/// \brief Standard constructor.
|
||||
/// Builds an empty environment.
|
||||
ConcreteEnvironment();
|
||||
|
@ -69,7 +66,7 @@ namespace sgpem
|
|||
/// always safe.
|
||||
///
|
||||
/// \return a constant set of snapshots of processes
|
||||
virtual const ConstProcesses
|
||||
virtual const Processes&
|
||||
get_processes() const;
|
||||
|
||||
|
||||
|
@ -101,7 +98,7 @@ namespace sgpem
|
|||
///
|
||||
/// \return a indexed constant set of snapshot of resources.
|
||||
/// \see DynamicSybrequest::get_resource()
|
||||
virtual const ConstResources
|
||||
virtual const Resources&
|
||||
get_resources() const;
|
||||
|
||||
|
||||
|
@ -126,7 +123,7 @@ namespace sgpem
|
|||
///
|
||||
/// \param resource The resource the requests are for
|
||||
/// \return The current ready requests queue.
|
||||
virtual const ConstRequests
|
||||
virtual const Requests
|
||||
get_request_queue(resource_key_t resource_key) const;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue