-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#104] - more on variable connection and update
- Loading branch information
1 parent
7e568bb
commit 78c13fd
Showing
7 changed files
with
169 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
|
||
#pragma once | ||
|
||
#include "input_slot.h" | ||
#include "output_slot.h" | ||
|
||
namespace motor | ||
{ | ||
namespace wire | ||
{ | ||
template< typename T > | ||
class other_slot | ||
{ | ||
using type_t = void_t ; | ||
}; | ||
|
||
template<> | ||
struct other_slot< motor::wire::iinput_slot_t > | ||
{ | ||
using type_t = motor::wire::ioutput_slot_t ; | ||
using type_ptr_t = type_t * ; | ||
using type_safe_mtr_t = motor::core::mtr_safe< type_t > ; | ||
}; | ||
|
||
template<> | ||
struct other_slot< motor::wire::ioutput_slot_t > | ||
{ | ||
using type_t = motor::wire::iinput_slot_t ; | ||
using type_ptr_t = type_t * ; | ||
using type_safe_mtr_t = motor::core::mtr_safe< type_t > ; | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters