LMMS
Loading...
Searching...
No Matches
Capture Class Reference

RtData subclass to capture argument values from a runtime object. More...

Inheritance diagram for Capture:
rtosc::RtData

Public Member Functions

int size () const
 Return the number of argument values stored.
 Capture (std::size_t max_args, rtosc_arg_val_t *arg_vals)
Public Member Functions inherited from rtosc::RtData
 RtData (void)
void push_index (int ind)
void pop_index (void)
virtual void chainArray (const char *path, const char *args, rtosc_arg_t *vals)
virtual void broadcast (const char *path, const char *args,...)
 Transmit initialization/change of a value to all listeners.
virtual void broadcast (const char *msg)
virtual void broadcastArray (const char *path, const char *args, rtosc_arg_t *vals)
virtual void forward (const char *rational=NULL)

Private Member Functions

void chain (const char *path, const char *args,...) override
void chain (const char *msg) override
 Bypass message to some kind of backend if the message can not be handled.
void reply (const char *) override
 Reply if information has been requested.
void replyArray (const char *, const char *args, rtosc_arg_t *vals) override
void reply (const char *, const char *args,...) override

Private Attributes

size_t max_args
rtosc_arg_val_targ_vals
int nargs

Additional Inherited Members

Public Attributes inherited from rtosc::RtData
char * loc
size_t loc_size
voidobj
 runtime object to dispatch this object to
int matches
 number of matches returned from dispatch routine
const Portport
const char * message
 Will be set to point to the full OSC message in case of a base dispatch.
int idx [16]

Detailed Description

RtData subclass to capture argument values from a runtime object.

Constructor & Destructor Documentation

◆ Capture()

Capture::Capture ( std::size_t max_args,
rtosc_arg_val_t * arg_vals )
inline

Member Function Documentation

◆ chain() [1/2]

void Capture::chain ( const char * msg)
inlineoverrideprivatevirtual

Bypass message to some kind of backend if the message can not be handled.

Reimplemented from rtosc::RtData.

◆ chain() [2/2]

void Capture::chain ( const char * path,
const char * args,
... )
inlineoverrideprivatevirtual

Reimplemented from rtosc::RtData.

◆ reply() [1/2]

void Capture::reply ( const char * msg)
inlineoverrideprivatevirtual

Reply if information has been requested.

Reimplemented from rtosc::RtData.

◆ reply() [2/2]

void Capture::reply ( const char * ,
const char * args,
... )
inlineoverrideprivatevirtual

Reimplemented from rtosc::RtData.

◆ replyArray()

void Capture::replyArray ( const char * ,
const char * args,
rtosc_arg_t * vals )
inlineoverrideprivatevirtual

Reimplemented from rtosc::RtData.

◆ size()

int Capture::size ( ) const
inline

Return the number of argument values stored.

Member Data Documentation

◆ arg_vals

rtosc_arg_val_t* Capture::arg_vals
private

◆ max_args

size_t Capture::max_args
private

◆ nargs

int Capture::nargs
private

The documentation for this class was generated from the following file: