9#define ISA_OSC(node) ((node)->tag & (O2TAG_OSC_UDP_SERVER | \
10 O2TAG_OSC_TCP_SERVER | O2TAG_OSC_UDP_CLIENT | \
11 O2TAG_OSC_TCP_CLIENT | O2TAG_OSC_TCP_CONNECTION))
14#define TO_OSC_INFO(node) ((Osc_info *) (node))
16#define TO_OSC_INFO(node) (assert(ISA_OSC(((Osc_info *) (node)))),\
17 ((Osc_info *) (node)))
32 memset(&udp_address, 0,
sizeof udp_address);
33 port = port_; fds_info = info; }
40 bool local_is_synchronized() {
return true; }
41 bool schedule_before_send();
49 void show(
int indent);
52 O2status status(
const char **process) {
54 *process = get_proc_name();
60 O2err send(
bool block);
Definition: o2network.h:147
Definition: o2network.h:105
bool o2_clock_is_synchronized
A variable indicating that the clock is the reference or is synchronized to the reference.
Definition: clock.cpp:26
double O2time
O2 timestamps are doubles representing seconds since the approximate start time of the ensemble.
Definition: o2.h:625
O2status
Status return codes for the o2_status function.
Definition: o2.h:435
O2err
return values used generally by O2 functions
Definition: o2.h:329
@ O2_TO_OSC_NOTIME
service is connected but no clock sync yet.
Definition: o2.h:487
@ O2_TO_OSC
connected with clock sync.
Definition: o2.h:528
data part of an O2 message
Definition: o2.h:638
Definition: o2network.h:57