MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / writeMethodRecordToSdBusVTable

Method writeMethodRecordToSdBusVTable

src/Object.cpp:263–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void Object::writeMethodRecordToSdBusVTable(const VTable::MethodItem& method, std::vector<sd_bus_vtable>& vtable)
264{
265 auto vtableItem = createSdBusVTableMethodItem( method.name.c_str()
266 , method.inputSignature.c_str()
267 , method.outputSignature.c_str()
268 , method.paramNames.c_str()
269 , &Object::sdbus_method_callback
270 , method.flags.toSdBusMethodFlags() );
271 vtable.push_back(std::move(vtableItem));
272}
273
274void Object::writeSignalRecordToSdBusVTable(const VTable::SignalItem& signal, std::vector<sd_bus_vtable>& vtable)
275{

Callers

nothing calls this directly

Calls 3

toSdBusMethodFlagsMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected