WRENCH
1.11
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
action
FileRegistryAddEntryAction.h
1
10
#ifndef WRENCH_FILE_REGISTRY_ADD_ENTRY_ACTION_H
11
#define WRENCH_FILE_REGISTRY_ADD_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
26
class
FileRegistryAddEntryAction
:
public
FileRegistryAction
{
27
28
public
:
29
30
protected
:
31
friend
class
CompoundJob;
32
41
FileRegistryAddEntryAction
(
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
::ADD, 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_ADD_ENTRY_ACTION_H
wrench::FileRegistryAddEntryAction::FileRegistryAddEntryAction
FileRegistryAddEntryAction(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:
FileRegistryAddEntryAction.h:41
wrench
Definition:
Action.cpp:28
wrench::FileRegistryAddEntryAction
A class that implements a file registry (add entry) action.
Definition:
FileRegistryAddEntryAction.h:26
wrench::FileRegistryAction
A class that implements a file registry (abstract) action.
Definition:
FileRegistryAction.h:26