Class InputFrameRecorder
- Espace de noms
- easyar
Enregistreur de trames d'entrée. Dispose d'un port d'entrée et d'un port de sortie pour les trames d'entrée, permettant d'enregistrer les trames transitantes dans un fichier EIF. Tous les membres de cette classe sont thread-safe.
Méthodes
input
Port d'entrée
void easyar_InputFrameRecorder_input(easyar_InputFrameRecorder * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()
Retours
| Type | Description |
|---|---|
| InputFrameSink |
bufferRequirement
Le nombre de camera buffers occupés par le composant actuel.
int easyar_InputFrameRecorder_bufferRequirement(easyar_InputFrameRecorder * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()
Retours
| Type | Description |
|---|---|
| Int32 |
output
Port de sortie.
void easyar_InputFrameRecorder_output(easyar_InputFrameRecorder * This, easyar_InputFrameSource * * Return)
std::shared_ptr<InputFrameSource> output()
public @Nonnull InputFrameSource output()
fun output(): InputFrameSource
- (easyar_InputFrameSource *)output
public func output() -> InputFrameSource
public virtual InputFrameSource output()
Retours
| Type | Description |
|---|---|
| InputFrameSource |
create
créer
void easyar_InputFrameRecorder_create(easyar_InputFrameRecorder * * Return)
static std::shared_ptr<InputFrameRecorder> create()
public static @Nonnull InputFrameRecorder create()
companion object fun create(): InputFrameRecorder
+ (easyar_InputFrameRecorder *)create
public static func create() -> InputFrameRecorder
public static InputFrameRecorder create()
Retours
| Type | Description |
|---|---|
| InputFrameRecorder |
start
Début de l'enregistrement des données. L'initialScreenRotation correspond à l'orientation initiale de rotation de l'écran lors de l'enregistrement des données, et le rendu pendant la lecture se fera sur la base de cette orientation. La définition de l'orientation de rotation est cohérente avec celle de CameraParameters.
bool easyar_InputFrameRecorder_start(easyar_InputFrameRecorder * This, easyar_String * filePath, int initialScreenRotation)
bool start(std::string filePath, int initialScreenRotation)
public boolean start(java.lang.@Nonnull String filePath, int initialScreenRotation)
fun start(filePath: String, initialScreenRotation: Int): Boolean
- (bool)start:(NSString *)filePath initialScreenRotation:(int)initialScreenRotation
public func start(_ filePath: String, _ initialScreenRotation: Int32) -> Bool
public virtual bool start(string filePath, int initialScreenRotation)
Paramètres
| Nom | Type | Description |
|---|---|---|
| filePath | String | |
| initialScreenRotation | Int32 |
Retours
| Type | Description |
|---|---|
| Boolean |
stop
Arrêter l'enregistrement des données. Cette méthode arrête uniquement l'enregistrement, la connexion restera active.
void easyar_InputFrameRecorder_stop(easyar_InputFrameRecorder * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()
Retours
| Type | Description |
|---|---|
| Void |