wrench::Invocation

class Invocation

Represents an invocation of a registered function.

Public Functions

double getEndDate() const

Get the invocation’s end date.

Returns:

A simulated date (or -1.0 if not submitted)

std::shared_ptr<FailureCause> getFailureCause() const

Gets the cause of failure.

Returns:

A failure cause

std::shared_ptr<FunctionOutput> getOutput() const

Gets the output of the function invocation.

Returns:

A shared pointer to the function output.

std::shared_ptr<RegisteredFunction> getRegisteredFunction() const

Gets the registered function for this invocation.

Returns:

A registered function

double getStartDate() const

Get the invocation’s start date.

Returns:

A simulated date (or -1.0 if not submitted)

double getSubmitDate() const

Get the invocation’s submit date.

Returns:

A simulated date (or -1.0 if not submitted)

bool hasSucceeded() const

Checks if the invocation was successful.

Returns:

True if the invocation was successful, false otherwise.

bool isDone() const

Checks if the invocation is done.

Returns:

True if the invocation is done, false otherwise.