Webdar 1.0.0
Web user interface to libdar
Public Member Functions | List of all members
actor Class Referenceabstract

class of object that are pointed/triggered to by others More...

#include <actor.hpp>

Inheritance diagram for actor:
Inheritance graph
[legend]
Collaboration diagram for actor:
Collaboration graph
[legend]

Public Member Functions

 actor (const actor &ref)=default
 
 actor (actor &&ref) noexcept(false)=default
 
actoroperator= (const actor &ref)=default
 
actoroperator= (actor &&ref) noexcept(false)
 
virtual void on_event (const std::string &event_name)=0
 implementation in inherited class of the action triggered by the event given in argument More...
 
- Public Member Functions inherited from reference
 reference ()
 usual constructor
 
 reference (const reference &ref)
 copy constructor More...
 
 reference (reference &&ref) noexcept(false)
 move constructor (only operational for objects without peering) More...
 
referenceoperator= (const reference &ref)
 assignment operator (only operational for objects without peering) More...
 
referenceoperator= (reference &&ref) noexcept(false)
 move assigment operator More...
 
virtual ~reference ()
 destructor
 
void peer_with (reference *obj)
 method used to create a relation between two objects More...
 
void break_peer_with (reference *obj)
 break the peering with the object given as argument
 
bool is_peer (reference *obj) const
 whether a peering exists with that object
 
bool is_empty () const
 whether the current object has peering
 
unsigned int size () const
 the number of peers
 

Additional Inherited Members

- Protected Member Functions inherited from reference
virtual void broken_peering_from (reference *obj)
 to be informed when a peer has broke the peering with me More...
 
void reset_read_peers () const
 reset the peers reading
 
bool read_next_peer (reference *&peer) const
 

Detailed Description

class of object that are pointed/triggered to by others

and that informs these pointers about their imminent death in order to be removed from the pointed objects list

Examples
/home/denis/Webdar/webdar/src/html_form_input_file.hpp.

Member Function Documentation

◆ on_event()

virtual void actor::on_event ( const std::string &  event_name)
pure virtual

implementation in inherited class of the action triggered by the event given in argument

Implemented in arriere_boutique< T >, arriere_boutique< html_entrepot_landing >, arriere_boutique< html_mask_form_filename >, arriere_boutique< html_mask_form_path >, arriere_boutique< html_compression_params >, arriere_boutique< html_slicing >, arriere_boutique< html_ciphering >, arriere_boutique< html_form_sig_block_size >, arriere_boutique< html_form_overwrite_action >, arriere_boutique< html_options_test >, arriere_boutique< html_options_compare >, arriere_boutique< html_options_read >, arriere_boutique< html_options_create >, arriere_boutique< html_options_isolate >, arriere_boutique< html_options_merge >, arriere_boutique< html_options_repair >, arriere_boutique< html_options_extract >, choose, guichet, html_archive_compare, html_archive_create, html_archive_extract, html_archive_isolate, html_archive_merge, html_archive_read, html_archive_repair, html_bibliotheque, html_ciphering, html_compression, html_compression_params, html_crypto_algo, html_datetime, html_demo, html_derouleur, html_dir_tree, html_disconnect, html_double_button, html_entrepot, html_entrepot_landing, html_error, html_form_dynamic_table, html_form_gnupg_list, html_form_ignore_as_symlink, html_form_input_file, html_form_input_unit, html_form_mask_bool, html_form_mask_expression, html_form_mask_file, html_form_mask_subdir, html_form_overwrite_action, html_form_overwrite_base_criterium, html_form_overwrite_chain_action, html_form_overwrite_chain_cell, html_form_overwrite_combining_criterium, html_form_overwrite_conditional_action, html_form_overwrite_constant_action, html_form_same_fs, html_form_sig_block_size, html_fsa_scope, html_hash_algo, html_libdar_running_page, html_libdar_running_popup, html_listing_page, html_mask_form_filename, html_mask_form_path, html_menu, html_options_compare, html_options_create, html_options_extract, html_options_isolate, html_options_merge, html_options_read, html_options_repair, html_options_test, html_over_guichet, html_select_file, html_size_unit, html_slicing, html_summary_page, html_tabs, html_version, html_web_user_interaction, html_yes_no_box, saisie, session, user_interface, and html_form_select.


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