105#define TO_BRIDGE_INFO(node) ((Bridge_info *) (node))
107#define TO_BRIDGE_INFO(node) (assert(ISA_BRIDGE(((Bridge_info *) (node)))),\
108 ((Bridge_info *) (node)))
113extern int o2_bridge_next_id;
129 int find_loc(
int id);
132 int i = find_loc(
id);
133 return (i < 0 ? NULL : instances[i]);
136 void remove_instance(
int id) {
137 int loc = find_loc(
id);
139 instances.remove(loc);
157 id = o2_bridge_next_id++;
158 proto->instances.push_back(
this);
162 virtual O2err send(
bool block) = 0;
167 virtual void show(
int indent);
169 virtual bool local_is_synchronized() {
return IS_SYNCED(
this); }
170 O2status status(
const char **process) {
172 *process = get_proc_name();
180 const char *replyto);
181void o2_bridge_cscs_handler();
183 O2arg_ptr *argv,
int argc,
const void *user_data);
185 O2arg_ptr *argv,
int argc,
const void *user_data);
187 O2arg_ptr *argv,
int argc,
const void *user_data);
189 O2arg_ptr *argv,
int argc,
const void *user_data);
194int o2_bridge_find_protocol(
const char *protocol_name,
197int o2_poll_bridges(
void);
199void o2_bridges_initialize(
void);
201void o2_bridges_finish(
void);
bool o2_clock_is_synchronized
A variable indicating that the clock is the reference or is synchronized to the reference.
Definition: clock.cpp:26
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_BRIDGE
connected with clock sync.
Definition: o2.h:512
@ O2_BRIDGE_NOTIME
service is connected but no clock sync yet.
Definition: o2.h:468
@ O2_SUCCESS
function was successful
Definition: o2.h:332
an O2 message container
Definition: o2.h:690
data part of an O2 message
Definition: o2.h:638
union of all O2 parameter types
Definition: o2.h:764