Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

ConnectionEvent Class Reference

#include <connection_event.h>

List of all members.

Public Member Functions

 ConnectionEvent (std::string type, bool success, unsigned long start, unsigned long delay, unsigned long duration)
unsigned long getDelay ()
unsigned long getDuration ()
unsigned long getStart ()
bool getSuccess ()
std::string getType ()

Private Attributes

unsigned long delay_
unsigned long duration_
unsigned long start_
bool success_
std::string type_

Detailed Description

This class encapsulates the concept of a connection event. It keeps track of the start time, the delay, the success, the duration, and the type of the connection event.

Author:
Brett Ponsler (bponsler (at) wpi (dot) edu)

Definition at line 46 of file connection_event.h.


Constructor & Destructor Documentation

ConnectionEvent::ConnectionEvent ( std::string  type,
bool  success,
unsigned long  start,
unsigned long  delay,
unsigned long  duration 
)

Constructor for the ConnectionEvent class. Takes a type, start time, and delay duration.

Parameters:
type The type of connection event
success The success of the connection event
start The start time for this connection event
delay The delay for this connection event
duration The duration of the connection event

Definition at line 37 of file connection_event.cpp.


Member Function Documentation

unsigned long ConnectionEvent::getDelay (  ) 

Return the delay for this connection event.

Returns:
The delay

Definition at line 67 of file connection_event.cpp.

unsigned long ConnectionEvent::getDuration (  ) 

Return the duration of this connection event.

Returns:
The duration

Definition at line 73 of file connection_event.cpp.

unsigned long ConnectionEvent::getStart (  ) 

Return the start time for this connection event.

Returns:
The start time

Definition at line 61 of file connection_event.cpp.

bool ConnectionEvent::getSuccess (  ) 

Return the success of this connection event.

Returns:
The success

Definition at line 55 of file connection_event.cpp.

std::string ConnectionEvent::getType (  ) 

Return the type of this connection event.

Returns:
The type

Definition at line 49 of file connection_event.cpp.


Member Data Documentation

unsigned long ConnectionEvent::delay_ [private]

The delay for the connection event.

Definition at line 56 of file connection_event.h.

unsigned long ConnectionEvent::duration_ [private]

The duration of this connection event.

Definition at line 58 of file connection_event.h.

unsigned long ConnectionEvent::start_ [private]

The start time for the connection event.

Definition at line 54 of file connection_event.h.

bool ConnectionEvent::success_ [private]

The success of the connection event.

Definition at line 52 of file connection_event.h.

std::string ConnectionEvent::type_ [private]

The type of connection event.

Definition at line 50 of file connection_event.h.


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

engagement_recognition
Author(s): Brett Ponsler (bponsler (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:35:49 2011