You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The event itself triggers fine, but how do I retrieve the filename of the written image? The buf doesn't seem to be a simple char* as I first thought.
The EOSEventMonitor example contains a custom parser made to extract a filename from EOS 'Object Created' event, as a source comment states. Running this example does indeed result in the filename being retrieved. Unfortunately, I don't see how I could integrate this code into my code.
If anyone could shed light on how this is done or point me in the right direction, I would greatly appreciate it. Thanks!
The text was updated successfully, but these errors were encountered:
This seems to work... somehow. Clearly, I'm not a C++ guy. It would be great if someone more qualified could look this over. Until then, use at your own risk.
The class
EOSEventHandlers
provides anOnObjectCreated
event, which is triggered when the camera is done writing a captured image.virtual void OnObjectCreated(const EOSEvent *evt, uint8_t* buf) = 0;
The event itself triggers fine, but how do I retrieve the filename of the written image? The
buf
doesn't seem to be a simplechar*
as I first thought.The EOSEventMonitor example contains a custom parser made to extract a filename from EOS 'Object Created' event, as a source comment states. Running this example does indeed result in the filename being retrieved. Unfortunately, I don't see how I could integrate this code into my code.
If anyone could shed light on how this is done or point me in the right direction, I would greatly appreciate it. Thanks!
The text was updated successfully, but these errors were encountered: