FBTimeSpan Class Reference

#include <mobu-python-api.h>

Class Description

TimeSpan class.

+ Inheritance diagram for FBTimeSpan:

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...
 

Member Function Documentation

__init__ ( object  arg1,
FBTime  arg2,
FBTime  arg3 
)

Constructor.

Python Docstring:

__init__( (object)arg1 [, (FBTime)arg2 [, (FBTime)arg3]]) -> None 

C++ Signature:

 FBTimeSpan(ORSDK2018::FBTime pStart = 0, ORSDK2018::FBTime pStop = 0) 
Parameters
pStartStart time(default=0).
pStopStop 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.

Returns
Direction of timespan.
FBTime GetDuration ( FBTimeSpan  arg1)

Get the unsigned duration value of a timespan.

Python Docstring:

GetDuration( (FBTimeSpan)arg1) -> FBTime 

C++ Signature:

ORSDK2018::FBTime GetDuration() 
Returns
Unsigned duration of the timespan.
FBTime GetSignedDuration ( FBTimeSpan  arg1)

Get the signed duration value of a timespan.

Python Docstring:

GetSignedDuration( (FBTimeSpan)arg1) -> FBTime 

C++ Signature:

ORSDK2018::FBTime GetSignedDuration() 
Returns
Signed duration of the timespan.
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) 
Parameters
pStartStart time.
pStopStop time.