Vuo  2.3.2
Class Methods | List of all members
VuoRunnerCocoa(Conversion) Category Reference

Description

Methods for converting between Cocoa types and Vuo types.

Definition at line 26 of file VuoRunnerCocoa+Conversion.hh.

Class Methods

(id) + cocoaObjectWithVuoValue:ofType:
 Given the specified vuoValue (serialized as JSON), returns a Cocoa object. More...
 
(json_object *) + vuoValueWithCocoaObject:
 Given the specified Cocoa object, returns a Vuo value (serialized as JSON). More...
 
(NSImage *) + nsImageWithVuoImage:
 Converts the provided VuoImage to an NSImage. More...
 

Method Documentation

◆ cocoaObjectWithVuoValue:ofType:

+ (id) cocoaObjectWithVuoValue: (json_object *)  vuoValue
ofType: (string)  type 

Given the specified vuoValue (serialized as JSON), returns a Cocoa object.

See also
valueForOututPort:

Extends class VuoRunnerCocoa.

Definition at line 1 of file VuoRunnerCocoa+Conversion.mm.

◆ nsImageWithVuoImage:

+ (NSImage *) nsImageWithVuoImage: (VuoImage vi

Converts the provided VuoImage to an NSImage.

Extends class VuoRunnerCocoa.

Definition at line 233 of file VuoRunnerCocoa+Conversion.mm.

◆ vuoValueWithCocoaObject:

+ (json_object *) vuoValueWithCocoaObject: (id)  value

Given the specified Cocoa object, returns a Vuo value (serialized as JSON).

See also
setValue:forInputPort:

Extends class VuoRunnerCocoa.

Definition at line 233 of file VuoRunnerCocoa+Conversion.mm.


The documentation for this category was generated from the following files: