WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
FileRegistryDeleteEntryAction.h
1 
10 #ifndef WRENCH_FILE_REGISTRY_DELETE_ENTRY_ACTION_H
11 #define WRENCH_FILE_REGISTRY_DELETE_ENTRY_ACTION_H
12 
13 #include <string>
14 
15 #include "wrench/action/FileRegistryAction.h"
16 
17 namespace wrench {
18 
19  class DataFile;
20  class FileLocation;
21  class FileRegistryService;
22 
27 
28  public:
29 
30  protected:
31  friend class CompoundJob;
32 
41  FileRegistryDeleteEntryAction(const std::string& name, std::shared_ptr<CompoundJob> job,
42  std::shared_ptr<FileRegistryService> file_registry_service,
43  std::shared_ptr<DataFile>file,
44  std::shared_ptr<FileLocation> file_location) :
45  FileRegistryAction(FileRegistryAction::DELETE, name, std::move(job), std::move(file_registry_service), file, std::move(file_location)) {}
46 
47 // void execute(std::shared_ptr<ActionExecutor> action_executor,unsigned long num_threads, double ram_footprint) override;
48 // void terminate(std::shared_ptr<ActionExecutor> action_executor) override;
49 
50  private:
51  std::shared_ptr<FileRegistryService> file_registry_service;
52  std::shared_ptr<DataFile>file;
53  std::shared_ptr<FileLocation> file_location;
54 
55  };
56 }
57 
58 #endif //WRENCH_FILE_REGISTRY_DELETE_ENTRY_ACTION_H
wrench
Definition: Action.cpp:28
wrench::FileRegistryDeleteEntryAction
A class that implements a file registry (delete entry) action.
Definition: FileRegistryDeleteEntryAction.h:26
wrench::FileRegistryAction
A class that implements a file registry (abstract) action.
Definition: FileRegistryAction.h:26
wrench::FileRegistryDeleteEntryAction::FileRegistryDeleteEntryAction
FileRegistryDeleteEntryAction(const std::string &name, std::shared_ptr< CompoundJob > job, std::shared_ptr< FileRegistryService > file_registry_service, std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > file_location)
Constructor.
Definition: FileRegistryDeleteEntryAction.h:41
wrench::CompoundJob
A compound job.
Definition: CompoundJob.h:47