Chrysalis - Pattern
Toggle main menu visibility
Loading...
Searching...
No Matches
MovePointInstruction.h
Go to the documentation of this file.
1
#ifndef CHRYSALIS_ADJUSTPOINTINSTRUCTION_H
2
#define CHRYSALIS_ADJUSTPOINTINSTRUCTION_H
3
4
#include <boost/serialization/export.hpp>
5
6
#include "
BasePatternInstruction.h
"
7
#include "
arguments/VectorArgument.h
"
8
#include "
arguments/OptionalArgument.h
"
9
#include "
arguments/PatternPointArgument.h
"
10
14
namespace
Chrysalis
{
18
*/
19
class
MovePointInstruction
:
public
BasePatternInstruction
{
20
PROVIDE_SERIALIZATION_ACCESS
(
MovePointInstruction
)
21
public
:
22
explicit
MovePointInstruction
(
ProjectSpace
*
space
,
args::patterns
* patterns,
const
PatternPointArgument
* point,
23
const
args::vector
* vector1,
const
args::optional<args::vector>
* vector2);
24
~MovePointInstruction
()
override
;
25
26
void
execute
()
override
;
27
private
:
28
const
PatternPointArgument
* point_;
29
const
args::vector
* vector1_;
30
const
args::optional<args::vector>
* vector2_;
31
};
32
SERIALIZE_DERIVED_CONSTRUCTION
(
MovePointInstruction
,
BasePatternInstruction
, space_, patterns_, point_, vector1_, vector2_)
33
}
35
36
#endif
//CHRYSALIS_ADJUSTPOINTINSTRUCTION_H
BasePatternInstruction.h
OptionalArgument.h
PatternPointArgument.h
VectorArgument.h
Chrysalis::BasePatternInstruction
Definition
BasePatternInstruction.h:14
Chrysalis::BasePatternInstruction::space
ProjectSpace & space() const
Definition
BasePatternInstruction.h:21
Chrysalis::BasePatternInstruction::BasePatternInstruction
BasePatternInstruction(ProjectSpace *space, args::patterns *patterns)
Definition
BasePatternInstruction.cpp:5
Chrysalis::MovePointInstruction
Definition
MovePointInstruction.h:18
Chrysalis::MovePointInstruction::~MovePointInstruction
~MovePointInstruction() override
Definition
MovePointInstruction.cpp:9
Chrysalis::MovePointInstruction::execute
void execute() override
Definition
MovePointInstruction.cpp:15
Chrysalis::MovePointInstruction::MovePointInstruction
MovePointInstruction(ProjectSpace *space, args::patterns *patterns, const PatternPointArgument *point, const args::vector *vector1, const args::optional< args::vector > *vector2)
Definition
MovePointInstruction.cpp:3
Chrysalis::PatternPointArgument
Definition
PatternPointArgument.h:13
Chrysalis::ProjectSpace
Definition
ProjectSpace.h:12
Chrysalis::args::vector
VectorArgument vector
Definition
VectorArgument.h:32
Chrysalis::args::optional
OptionalArgument< T > optional
Definition
OptionalArgument.h:30
Chrysalis::args::patterns
PatternsContainerArgument patterns
Definition
PatternsContainerArgument.h:31
Chrysalis
Definition
Argument.h:9
PROVIDE_SERIALIZATION_ACCESS
#define PROVIDE_SERIALIZATION_ACCESS(Class)
Definition
serialization.h:29
SERIALIZE_DERIVED_CONSTRUCTION
#define SERIALIZE_DERIVED_CONSTRUCTION(Class, Base,...)
Definition
serialization.h:124
pattern
include
instructions
MovePointInstruction.h
Generated by
1.17.0