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

I have a question about signal in openGEODO #49

Closed
zongz1024 opened this issue Apr 17, 2019 · 3 comments
Closed

I have a question about signal in openGEODO #49

zongz1024 opened this issue Apr 17, 2019 · 3 comments

Comments

@zongz1024
Copy link

I wonder where the signal is defined. I can only get its name in the example . I wonder some other information about the siganl such as the type of this signal(int ? float ? or something else?) .
image

@maxime-esa
Copy link
Contributor

Sorry I don't understand the question.
The signal declarations are visible on your screenshot:

signal run;
signal saved_signal (BoolType);   -- means the parameter is of type BoolType
...

@zongz1024
Copy link
Author

Sorry I don't understand the question.
The signal declarations are visible on your screenshot:

signal run;
signal saved_signal (BoolType);   -- means the parameter is of type BoolType
...

what type of the signal named run?????

signal run ; -- int ???? bool ???? or something else ????

@maxime-esa
Copy link
Contributor

A signal in SDL is an asynchronous message, which (by definition) does not return a value. Therefore what you call type of the signal does not exist in SDL.

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

No branches or pull requests

2 participants