#include <mobu-python-api.h>
TimeSpan class.
Public Member Functions | |
__reduce__ () | |
__init__ (object arg1, FBTime arg2, FBTime arg3) | |
Constructor. More... | |
int | GetDirection (FBTimeSpan arg1) |
Get the direction of the timespan. More... | |
FBTime | GetDuration (FBTimeSpan arg1) |
Get the unsigned duration value of a timespan. More... | |
FBTime | GetSignedDuration (FBTimeSpan arg1) |
Get the signed duration value of a timespan. More... | |
FBTime | GetStart (FBTimeSpan arg1) |
FBTime | GetStop (FBTimeSpan arg1) |
Set (FBTimeSpan arg1, FBTime arg2, FBTime arg3) | |
Set the TimeSpan. More... | |
Constructor.
Python Docstring:
__init__( (object)arg1 [, (FBTime)arg2 [, (FBTime)arg3]]) -> None
C++ Signature:
FBTimeSpan(ORSDK2018::FBTime pStart = 0, ORSDK2018::FBTime pStop = 0)
pStart | Start time(default=0). |
pStop | Stop time(default=0). |
__reduce__ | ( | ) |
int GetDirection | ( | FBTimeSpan | arg1 | ) |
Get the direction of the timespan.
Python Docstring:
GetDirection( (FBTimeSpan)arg1) -> int
C++ Signature:
int GetDirection()
Returns 1 if positive, -1 otherwise.
FBTime GetDuration | ( | FBTimeSpan | arg1 | ) |
Get the unsigned duration value of a timespan.
Python Docstring:
GetDuration( (FBTimeSpan)arg1) -> FBTime
C++ Signature:
ORSDK2018::FBTime GetDuration()
FBTime GetSignedDuration | ( | FBTimeSpan | arg1 | ) |
Get the signed duration value of a timespan.
Python Docstring:
GetSignedDuration( (FBTimeSpan)arg1) -> FBTime
C++ Signature:
ORSDK2018::FBTime GetSignedDuration()
FBTime GetStart | ( | FBTimeSpan | arg1 | ) |
Python Docstring:
GetStart( (FBTimeSpan)arg1) -> FBTime
Related C++ documentation:
The reference documentation for the following C++ symbols may contain additional relevant information.
FBTime GetStop | ( | FBTimeSpan | arg1 | ) |
Python Docstring:
GetStop( (FBTimeSpan)arg1) -> FBTime
Related C++ documentation:
The reference documentation for the following C++ symbols may contain additional relevant information.
Set | ( | FBTimeSpan | arg1, |
FBTime | arg2, | ||
FBTime | arg3 | ||
) |
Set the TimeSpan.
Python Docstring:
Set( (FBTimeSpan)arg1, (FBTime)arg2, (FBTime)arg3) -> None
C++ Signature:
void Set(ORSDK2018::FBTime pStart, ORSDK2018::FBTime pStop)
pStart | Start time. |
pStop | Stop time. |