Skip to content

Tracking proposal#11

Open
regrant wants to merge 3 commits intomasterfrom
tracking
Open

Tracking proposal#11
regrant wants to merge 3 commits intomasterfrom
tracking

Conversation

@regrant
Copy link
Copy Markdown
Collaborator

@regrant regrant commented Jul 24, 2020

No description provided.

Comment thread TypeDefs.tex Outdated
Comment thread TypeDefs.tex Outdated
Comment thread Common.tex
Comment thread Common.tex
@regrant
Copy link
Copy Markdown
Collaborator Author

regrant commented Jul 24, 2020

  1. Discussions on whether we should support timestamps? If we do, where do they apply? Hardware? System software timestamp?

  2. Do we want to include a threshold in the change of the value before a callback is triggered?

@regrant
Copy link
Copy Markdown
Collaborator Author

regrant commented Sep 18, 2020

Interfaces for tracking:

int PWR_ObjAttrStartMonitor( PWR_Obj, PWR_AttrName name, void (handler)(void,void*), void* info, double threshold );
int PWR_ObjAttrStopMonitor( PWR_Obj, PWR_AttrName name );

could express newValue as a defined type, but not all return types will be doubles:
int PWR_ObjAttrStartMonitor( PWR_Obj, PWR_AttrName name, int (handler)(void,double newValue), void* info, double threshold );

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

Successfully merging this pull request may close these issues.

1 participant