|
libmapper 2.4.12
|
#include <mapper_cpp.h>
Public Member Functions | |
| operator Id () const | |
| int | status () const |
| int | get_status () |
| template<typename... Values> | |
| Instance & | set_value (Values... vals) |
| Instance & | release () |
| Id | id () const |
| Instance & | set_data (void *data) |
| void * | data () const |
| const void * | value () const |
| const void * | value (Time time) const |
| Signal | signal () const |
Signal Instances can be used to describe the multiplicity and/or ephemerality of phenomena associated with Signals. A signal describes the phenomena, e.g. the position of a 'blob' in computer vision, and the signal's instances will describe the positions of actual detected blobs.
|
inline |
Get the user_data pointer associated with this Instance.
user_data pointer.
|
inline |
Get the status bitflags for this Instance.
|
inline |
|
inline |
get the Id for this Instance.
|
inline |
Set the user_data pointer associated with this Instance.
| data | A user_data pointer to store. |
|
inline |
Set the current value for this Instance.
| vals | The value to set. Can be scalar, array, std::array, or std::vector of int, float, or double. |
|
inline |
|
inline |
Return the current status for this Instance.
Signal::Status enum class. Each time this function is called it will reset the bitflags for NEW, SET_*, and REL_*.
|
inline |
Get the current value of this Instance.