Back to index

unity  6.0.0
Public Types | Public Member Functions | Public Attributes | Private Member Functions
unity::dash::Results Class Reference

#include <Results.h>

Inheritance diagram for unity::dash::Results:
Inheritance graph
[legend]
Collaboration diagram for unity::dash::Results:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::shared_ptr< ResultsPtr

Public Member Functions

 Results ()
 Results (ModelType model_type)
const Result RowAtIndex (std::size_t index)

Public Attributes

sigc::signal< void, Result
const & > 
result_added
sigc::signal< void, Result
const & > 
result_changed
sigc::signal< void, Result
const & > 
result_removed
nux::Property< std::string > swarm_name
nux::ROProperty< std::size_t > count
nux::ROProperty< unsigned long
long > 
seqnum
nux::ROProperty< glib::Object
< DeeModel > > 
model
sigc::signal< void, Result & > row_added
sigc::signal< void, Result & > row_changed
sigc::signal< void, Result & > row_removed
sigc::signal< void, unsigned
long long, unsigned long long > 
begin_transaction
sigc::signal< void, unsigned
long long, unsigned long long > 
end_transaction

Private Member Functions

void OnRowAdded (Result &result)
void OnRowChanged (Result &result)
void OnRowRemoved (Result &result)

Detailed Description

Definition at line 33 of file Results.h.


Member Typedef Documentation

typedef std::shared_ptr<Results> unity::dash::Results::Ptr

Reimplemented from unity::dash::Model< Result >.

Definition at line 36 of file Results.h.


Constructor & Destructor Documentation

Definition at line 27 of file Results.cpp.

{
  row_added.connect(sigc::mem_fun(this, &Results::OnRowAdded));
  row_changed.connect(sigc::mem_fun(this, &Results::OnRowChanged));
  row_removed.connect(sigc::mem_fun(this, &Results::OnRowRemoved));
}

Here is the call graph for this function:

Definition at line 34 of file Results.cpp.

  : Model<Result>::Model(model_type)
{
  row_added.connect(sigc::mem_fun(this, &Results::OnRowAdded));
  row_changed.connect(sigc::mem_fun(this, &Results::OnRowChanged));
  row_removed.connect(sigc::mem_fun(this, &Results::OnRowRemoved));
}

Here is the call graph for this function:


Member Function Documentation

void unity::dash::Results::OnRowAdded ( Result result) [private]

Definition at line 42 of file Results.cpp.

{
  result_added.emit(result);
}

Here is the caller graph for this function:

void unity::dash::Results::OnRowChanged ( Result result) [private]

Definition at line 47 of file Results.cpp.

{
  result_changed.emit(result);
}

Here is the caller graph for this function:

void unity::dash::Results::OnRowRemoved ( Result result) [private]

Definition at line 52 of file Results.cpp.

{
  result_removed.emit(result);
}

Here is the caller graph for this function:

const Result unity::dash::Model< Result >::RowAtIndex ( std::size_t  index) [inherited]

Member Data Documentation

sigc::signal<void, unsigned long long, unsigned long long> unity::dash::Model< Result >::begin_transaction [inherited]

Definition at line 70 of file Model.h.

nux::ROProperty<std::size_t> unity::dash::Model< Result >::count [inherited]

Definition at line 62 of file Model.h.

sigc::signal<void, unsigned long long, unsigned long long> unity::dash::Model< Result >::end_transaction [inherited]

Definition at line 71 of file Model.h.

nux::ROProperty<glib::Object<DeeModel> > unity::dash::Model< Result >::model [inherited]

Definition at line 64 of file Model.h.

sigc::signal<void, Result const&> unity::dash::Results::result_added

Definition at line 41 of file Results.h.

sigc::signal<void, Result const&> unity::dash::Results::result_changed

Definition at line 42 of file Results.h.

sigc::signal<void, Result const&> unity::dash::Results::result_removed

Definition at line 43 of file Results.h.

sigc::signal<void, Result &> unity::dash::Model< Result >::row_added [inherited]

Definition at line 66 of file Model.h.

sigc::signal<void, Result &> unity::dash::Model< Result >::row_changed [inherited]

Definition at line 67 of file Model.h.

sigc::signal<void, Result &> unity::dash::Model< Result >::row_removed [inherited]

Definition at line 68 of file Model.h.

nux::ROProperty<unsigned long long> unity::dash::Model< Result >::seqnum [inherited]

Definition at line 63 of file Model.h.

nux::Property<std::string> unity::dash::Model< Result >::swarm_name [inherited]

Definition at line 61 of file Model.h.


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