plebble
us::gov::sys::app::local_delta Struct Reference

#include <app.h>

Inheritance diagram for us::gov::sys::app::local_delta:
Collaboration diagram for us::gov::sys::app::local_delta:

Public Types

typedef engine::app::local_delta b
 
- Public Types inherited from us::gov::engine::app::local_delta
typedef app::hasher_t hasher_t
 
typedef app::hash_t hash_t
 

Public Member Functions

local_deltaoperator= (const local_delta &other)
 
local_deltaoperator= (int zero)=delete
 
 local_delta ()
 
 local_delta (const local_delta &other)
 
bool operator== (const local_delta &other) const =delete
 
 ~local_delta () override
 
int app_id () const override
 
void to_stream (ostream &) const override
 
void from_stream (istream &) override
 
void from_stream_prev (istream &) override
 
void hash_data_to_sign (crypto::ec::sigmsg_hasher_t &) const override
 
void hash_data (crypto::ripemd160 &) const override
 
const hash_tget_hash () const
 
hash_t compute_hash () const
 
- Public Member Functions inherited from us::gov::engine::app::local_delta
hash_t compute_hash () const
 

Public Attributes

hash_t id
 
sensor_t sensor
 
hash_t hash {0}
 

Additional Inherited Members

- Static Public Member Functions inherited from us::gov::engine::app::local_delta
static local_deltacreate (int id)
 
static local_deltacreate (istream &)
 
static local_deltacreate (int appid, istream &)
 
static local_deltacreate_prev (int appid, istream &)
 

Member Typedef Documentation

◆ b

Constructor & Destructor Documentation

◆ local_delta() [1/2]

us::gov::sys::app::local_delta::local_delta ( )

◆ local_delta() [2/2]

us::gov::sys::app::local_delta::local_delta ( const local_delta other)
inline

◆ ~local_delta()

us::gov::sys::app::local_delta::~local_delta ( )
overridevirtual

Reimplemented from us::gov::engine::app::local_delta.

Member Function Documentation

◆ app_id()

int us::gov::sys::app::local_delta::app_id ( ) const
overridevirtual

◆ compute_hash()

hash_t us::gov::sys::app::local_delta::compute_hash ( ) const

◆ from_stream()

void us::gov::sys::app::local_delta::from_stream ( istream &  )
overridevirtual

◆ from_stream_prev()

void us::gov::sys::app::local_delta::from_stream_prev ( istream &  )
overridevirtual

◆ get_hash()

const hash_t& us::gov::sys::app::local_delta::get_hash ( ) const

Referenced by std::hash< us::gov::sys::app::local_delta >::operator()().

Here is the caller graph for this function:

◆ hash_data()

void us::gov::sys::app::local_delta::hash_data ( crypto::ripemd160 ) const
overridevirtual

◆ hash_data_to_sign()

void us::gov::sys::app::local_delta::hash_data_to_sign ( crypto::ec::sigmsg_hasher_t ) const
overridevirtual

◆ operator=() [1/2]

local_delta& us::gov::sys::app::local_delta::operator= ( const local_delta other)
inline

References id, and sensor.

◆ operator=() [2/2]

local_delta& us::gov::sys::app::local_delta::operator= ( int  zero)
delete

◆ operator==()

bool us::gov::sys::app::local_delta::operator== ( const local_delta other) const
delete

◆ to_stream()

void us::gov::sys::app::local_delta::to_stream ( ostream &  ) const
overridevirtual

Member Data Documentation

◆ hash

hash_t us::gov::sys::app::local_delta::hash {0}
mutable

◆ id

hash_t us::gov::sys::app::local_delta::id

Referenced by operator=().

◆ sensor

sensor_t us::gov::sys::app::local_delta::sensor

Referenced by operator=().


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