Public Types | Public Member Functions | Public Attributes | List of all members
MyData Struct Reference

Public Types

typedef std::shared_ptr< MyDatapointer
 
typedef boost::signals2::signal< pointer()> source_signal
 
typedef source_signal::slot_type source_slot
 

Public Member Functions

 MyData (int i=0, float f=0.0, double d=0.0, const std::string &s="")
 
 MyData (int n=0)
 
int next ()
 
int get ()
 

Public Attributes

int i
 
float f
 
double d
 
std::string s
 
int x
 

Detailed Description

Definition at line 12 of file test_stream.cxx.

Member Typedef Documentation

typedef std::shared_ptr<MyData> MyData::pointer

Definition at line 56 of file test_sigslot.cxx.

typedef boost::signals2::signal<pointer ()> MyData::source_signal

Definition at line 62 of file test_sigslot.cxx.

typedef source_signal::slot_type MyData::source_slot

Definition at line 63 of file test_sigslot.cxx.

Constructor & Destructor Documentation

MyData::MyData ( int  i = 0,
float  f = 0.0,
double  d = 0.0,
const std::string s = "" 
)
inline

Definition at line 17 of file test_stream.cxx.

18  : i(i), f(f), d(d), s(s) {}
std::string s
Definition: test_stream.cxx:16
double d
Definition: test_stream.cxx:15
float f
Definition: test_stream.cxx:14
MyData::MyData ( int  n = 0)
inline

Definition at line 58 of file test_sigslot.cxx.

58 : x(n) {}
std::size_t n
Definition: format.h:3399

Member Function Documentation

int MyData::get ( )
inline

Definition at line 60 of file test_sigslot.cxx.

60 { return x; }
int MyData::next ( )
inline

Definition at line 59 of file test_sigslot.cxx.

59 { return ++x; }

Member Data Documentation

double MyData::d

Definition at line 15 of file test_stream.cxx.

float MyData::f

Definition at line 14 of file test_stream.cxx.

int MyData::i

Definition at line 13 of file test_stream.cxx.

std::string MyData::s

Definition at line 16 of file test_stream.cxx.

int MyData::x

Definition at line 57 of file test_sigslot.cxx.


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