From: Martin Quinson Date: Tue, 23 May 2023 21:27:32 +0000 (+0200) Subject: Sort the signals on the plugin page X-Git-Tag: v3.34~104 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4bd2aa27035caf79e3f72a2bbcdd55d6ae81cff7 Sort the signals on the plugin page + also fix some documentation errors --- diff --git a/docs/source/Plugins.rst b/docs/source/Plugins.rst index 865e1c2d31..27247b22d8 100644 --- a/docs/source/Plugins.rst +++ b/docs/source/Plugins.rst @@ -69,7 +69,8 @@ kind of objects, please let us now. Partial list of existing signals in s4u: -- :cpp:func:`Actor::on_creation ` +- In actors: + :cpp:func:`Actor::on_creation ` :cpp:func:`Actor::on_suspend ` :cpp:func:`Actor::on_this_suspend ` :cpp:func:`Actor::on_resume ` @@ -83,49 +84,57 @@ Partial list of existing signals in s4u: :cpp:func:`Actor::on_termination ` :cpp:func:`Actor::on_this_termination ` :cpp:func:`Actor::on_destruction ` -- :cpp:func:`Comm::on_send ` - :cpp:func:`Comm::on_recv ` - :cpp:func:`Comm::on_completion ` -- :cpp:func:`CommImpl::on_start ` - :cpp:func:`CommImpl::on_completion ` -- :cpp:func:`Disk::on_creation ` - :cpp:func:`Disk::on_destruction ` - :cpp:func:`Disk::on_this_destruction ` - :cpp:func:`Disk::on_state_change ` - :cpp:func:`Disk::on_this_state_change ` -- :cpp:func:`Engine::on_platform_creation ` +- In the engine: + :cpp:func:`Engine::on_platform_creation ` :cpp:func:`Engine::on_platform_created ` :cpp:func:`Engine::on_time_advance ` :cpp:func:`Engine::on_simulation_end ` :cpp:func:`Engine::on_deadlock ` -- :cpp:func:`Exec::on_start ` - :cpp:func:`Exec::on_completion ` -- :cpp:func:`Host::on_creation ` - :cpp:func:`Host::on_destruction ` - :cpp:func:`Host::on_this_destruction ` - :cpp:func:`Host::on_state_change ` - :cpp:func:`Host::on_this_state_change ` - :cpp:func:`Host::on_speed_change ` - :cpp:func:`Host::on_this_speed_change ` - :cpp:func:`Host::on_exec_state_change ` -- :cpp:func:`Io::on_start ` - :cpp:func:`Io::on_completion ` -- :cpp:func:`Link::on_creation ` - :cpp:func:`Link::on_destruction ` - :cpp:func:`Link::on_this_destruction ` - :cpp:func:`Link::on_state_change ` - :cpp:func:`Link::on_this_state_change ` - :cpp:func:`Link::on_bandwidth_change ` - :cpp:func:`Link::on_this_bandwidth_change ` - :cpp:func:`Link::on_communication_state_change ` -- :cpp:func:`NetZone::on_creation ` - :cpp:func:`NetZone::on_seal ` -- :cpp:func:`VirtualMachine::on_start ` - :cpp:func:`VirtualMachine::on_started ` - :cpp:func:`VirtualMachine::on_suspend ` - :cpp:func:`VirtualMachine::on_resume ` - :cpp:func:`VirtualMachine::on_migration_start ` - :cpp:func:`VirtualMachine::on_migration_end ` + +- In resources: + + - :cpp:func:`Disk::on_creation ` + :cpp:func:`Disk::on_destruction ` + :cpp:func:`Disk::on_this_destruction ` + :cpp:func:`Disk::on_onoff ` + :cpp:func:`Disk::on_this_onoff ` + - :cpp:func:`Host::on_creation ` + :cpp:func:`Host::on_destruction ` + :cpp:func:`Host::on_this_destruction ` + :cpp:func:`Host::on_onoff ` + :cpp:func:`Host::on_this_onoff ` + :cpp:func:`Host::on_speed_change ` + :cpp:func:`Host::on_this_speed_change ` + :cpp:func:`Host::on_exec_state_change ` + - :cpp:func:`Link::on_creation ` + :cpp:func:`Link::on_destruction ` + :cpp:func:`Link::on_this_destruction ` + :cpp:func:`Link::on_onoff ` + :cpp:func:`Link::on_this_onoff ` + :cpp:func:`Link::on_bandwidth_change ` + :cpp:func:`Link::on_this_bandwidth_change ` + :cpp:func:`Link::on_communication_state_change ` + + - :cpp:func:`NetZone::on_creation ` + :cpp:func:`NetZone::on_seal ` + - :cpp:func:`VirtualMachine::on_start ` + :cpp:func:`VirtualMachine::on_started ` + :cpp:func:`VirtualMachine::on_suspend ` + :cpp:func:`VirtualMachine::on_resume ` + :cpp:func:`VirtualMachine::on_migration_start ` + :cpp:func:`VirtualMachine::on_migration_end ` + +- In activities: + + - :cpp:func:`Comm::on_send ` + :cpp:func:`Comm::on_recv ` + :cpp:func:`Comm::on_completion ` + - :cpp:func:`CommImpl::on_start ` + :cpp:func:`CommImpl::on_completion ` + - :cpp:func:`Exec::on_start ` + :cpp:func:`Exec::on_completion ` + - :cpp:func:`Io::on_start ` + :cpp:func:`Io::on_completion ` Existing Plugins **************** diff --git a/src/plugins/operation.cpp b/src/plugins/operation.cpp index 9092fba22c..689bd0ce4c 100644 --- a/src/plugins/operation.cpp +++ b/src/plugins/operation.cpp @@ -394,9 +394,7 @@ IoOpPtr IoOp::set_bytes(double bytes) return this; } -/** @ingroup plugin_operation - * @param bytes The amount of bytes to set. - */ +/** @ingroup plugin_operation */ IoOpPtr IoOp::set_op_type(s4u::Io::OpType type) { kernel::actor::simcall_answered([this, type] { type_ = type; });