FBDeviceNotifyInfo Class Reference

FBDeviceNotifyInfo Class Reference

#include <mobu-python-api.h>

Class Description

Device Input and Output Notification information structure.

This structure is passed to the real-time device IO callback DeviceIONotify. It furnishes the device callback with the system time, local time, and sync counts for the current device cycle.

+ Inheritance diagram for FBDeviceNotifyInfo:

Public Member Functions

 __reduce__ ()
 
FBTime GetLocalTime (FBDeviceNotifyInfo arg1)
 Get local time. More...
 
int GetSyncCount (FBDeviceNotifyInfo arg1)
 Return the wanted timer sync count (internal or external) More...
 
FBTime GetSystemTime (FBDeviceNotifyInfo arg1)
 Get system time. More...
 
 __init__ (...)
 

Member Function Documentation

__init__ (   ...)

Python Docstring:

Raises an exception
This class cannot be instantiated from Python 
__reduce__ ( )
FBTime GetLocalTime ( FBDeviceNotifyInfo  arg1)

Get local time.

Python Docstring:

GetLocalTime( (FBDeviceNotifyInfo)arg1) -> FBTime 

C++ Signature:

ORSDK2018::FBTime & GetLocalTime() 
Returns
Current local time.
int GetSyncCount ( FBDeviceNotifyInfo  arg1)

Return the wanted timer sync count (internal or external)

Python Docstring:

GetSyncCount( (FBDeviceNotifyInfo)arg1) -> int 

C++ Signature:

int GetSyncCount() 
Returns
sync count or -1 if no sync is present
FBTime GetSystemTime ( FBDeviceNotifyInfo  arg1)

Get system time.

Python Docstring:

GetSystemTime( (FBDeviceNotifyInfo)arg1) -> FBTime 

C++ Signature:

ORSDK2018::FBTime & GetSystemTime() 
Returns
Current system time.