7 #ifndef CAFU_SET_COMPONENT_VARIABLE_HPP_INCLUDED
8 #define CAFU_SET_COMPONENT_VARIABLE_HPP_INCLUDED
11 #include "Network/State.hpp"
15 namespace cf {
namespace TypeSys {
template<
class T>
class VarT; } }
16 namespace cf {
namespace TypeSys {
template<
class T>
class VarArrayT; } }
This is a "wrapper" around a normal C++ variable specifically of type ArrayT<T>.
Definition: SetCompVar.hpp:16
This file provides the classes for the Command pattern as described in the book by the GoF...
void Undo()
This method un-does the command.
Definition: SetCompVar.cpp:132
Definition: SetCompVar.hpp:47
This is a "wrapper" around a normal C++ variable.
Definition: SetCompVar.hpp:15
void Undo()
This method un-does the command.
Definition: SetCompVar.cpp:66
wxString GetName() const
Returns the name (a description) of the command.
Definition: SetCompVar.cpp:84
This class holds the serialized state of another object (typically a game entity).
Definition: State.hpp:46
This class provides a common interface to the documents of the map, GUI or model editor.
Definition: DocumentAdapter.hpp:25
CommandSetCompVarArrayT(DocAdapterI &DocAdapter, cf::TypeSys::VarArrayT< T > &Var, const ArrayT< T > &NewValues)
The constructor for setting the given arry to a new set of values.
Definition: SetCompVar.cpp:95
wxString GetName() const
Returns the name (a description) of the command.
Definition: SetCompVar.cpp:149
CommandSetCompVarT(DocAdapterI &DocAdapter, cf::TypeSys::VarT< T > &Var, const T &NewValue)
The constructor for setting the given variable to a new value.
Definition: SetCompVar.cpp:31
Definition: SetCompVar.hpp:20
bool Do()
This method executes the command.
Definition: SetCompVar.cpp:52
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
bool Do()
This method executes the command.
Definition: SetCompVar.cpp:116
Definition: Renderer.hpp:16