Skip to content

Commit

Permalink
Fix up issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Oct 26, 2024
1 parent 0a58dc6 commit 589469d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 119 deletions.
2 changes: 1 addition & 1 deletion src/dsl/fusion/PostRunFusion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace NUClear {
namespace dsl {
namespace fusion {

/// Make a SFINAE type to check if a word has a postcondition method
/// Make a SFINAE type to check if a word has a post_run method
HAS_NUCLEAR_DSL_METHOD(post_run);

// Default case where there are no post_run words
Expand Down
5 changes: 4 additions & 1 deletion src/dsl/fusion/PreRunFusion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@
#include "../../threading/ReactionTask.hpp"
#include "../operation/DSLProxy.hpp"
#include "FindWords.hpp"
#include "has_pre_run.hpp"
#include "has_nuclear_dsl_method.hpp"

namespace NUClear {
namespace dsl {
namespace fusion {

/// Make a SFINAE type to check if a word has a pre_run method
HAS_NUCLEAR_DSL_METHOD(pre_run);

// Default case where there are no pre_run words
template <typename Words>
struct PreRunFuser {};
Expand Down
5 changes: 4 additions & 1 deletion src/dsl/fusion/ScopeFusion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@
#include "../../util/tuplify.hpp"
#include "../operation/DSLProxy.hpp"
#include "FindWords.hpp"
#include "has_scope.hpp"
#include "has_nuclear_dsl_method.hpp"

namespace NUClear {
namespace dsl {
namespace fusion {

/// Make a SFINAE type to check if a word has a scope method
HAS_NUCLEAR_DSL_METHOD(scope);

/**
* This is our Function Fusion wrapper class that allows it to call scope functions.
*
Expand Down
58 changes: 0 additions & 58 deletions src/dsl/fusion/has_pre_run.hpp

This file was deleted.

58 changes: 0 additions & 58 deletions src/dsl/fusion/has_scope.hpp

This file was deleted.

0 comments on commit 589469d

Please sign in to comment.