Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schneiderのピンをmain関数で与える #194

Open
H1rono opened this issue May 26, 2024 · 1 comment
Open

Schneiderのピンをmain関数で与える #194

H1rono opened this issue May 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@H1rono
Copy link
Member

H1rono commented May 26, 2024

Schneider::Schneider() :
input_modules({A4, A5}, A6, {D4, D5}), output_modules({PB_4, PA_11}, {PA_9, PA_10}), service() {

mainで↓と書けるようにしたい

omniboat::Schneider schneider{
    {{A4, A5}, A6, {D4, D5}},       // input_modules
    {{PB_4, PA_11}, {PA_9, PA_10}}, // output_modules
};

流石にどれがどれかわからなくなるのでBuilderの導入を検討 #192
Builderを使う形に変更できたらclose

@H1rono H1rono added the enhancement New feature or request label May 26, 2024
@H1rono
Copy link
Member Author

H1rono commented May 30, 2024

とりあえずmain関数から与える形にしてデフォルトコンストラクタを消したい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant