Rumba C++ SDK
QueryContext.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2020
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include "Export.h"
18 #include <optional>
19 
20 namespace maquina
21 {
23  {
24  public:
25 
27  float frame
28  );
29 
30  // Return the query's frame. If success, returns the frame at which the value should be evaluated else the current document time should be used.
31  std::optional<float> frame() const;
32 
33  private:
34  float _frame; // The frame at which the value should be evaluated in the node's document time or current_frame
35  public:
37  const static float current_frame;
38  };
39 }
static const float current_frame
Definition: QueryContext.h:37
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
#define MAQUINA_EXPORT
Definition: Export.h:31
static const QueryContext at_current_frame
Query at the current frame.
Definition: QueryContext.h:36
Definition: QueryContext.h:22