quite a bit of refactoring. mostly formatting and renaming, slight amount of cleanup.

This commit is contained in:
swaits committed 2010-10-04 14:52:55 -07:00
1 parent 3b66e243ae
commit 9043e38ef2
23 files changed
+1856 -1416

No files matched your search

+2 -10
View File
@@ -47,7 +47,7 @@ class signal_base
list_node* prev;
list_node* next;
bool bDeleteRequested;
bool deleted;
};
/**
@@ -70,19 +70,11 @@ class signal_base
*/
bool unbind(slot_base* slot);
/**
* Used to obtain the first slot that is connected to this signal. Used for walking the list of slots when a signal is executed.
*/
list_node* GetFirstNode( void ) const;
/**
* Functions used to maintain the status of a signal. When a signal is active it means that it is "Emitting". During the emitting
* stage, we are walking the list of slots to allow each slot to react to the signal. There are special considerations that
* must be made when walking the list, such as adding or removing slots during the emit stage.
*/
void BeginEmit( void );
void EndEmit( void );
bool IsSignalEmitting( void ) const;
private:
/**
@@ -114,7 +106,7 @@ class signal_base
list_node* head;
list_node* tail;
bool bEmitting;
bool emitting;
};
#endif // __signal_base_h__