Realistic 3D camera system
3D camera system components
stock.hpp
Go to the documentation of this file.
1 //
2 // stock.hpp
3 // ~~~~~~~~~
4 //
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 
11 #ifndef SERIALIZATION_STOCK_HPP
12 #define SERIALIZATION_STOCK_HPP
13 
14 #include <string>
15 
16 namespace s11n_example {
17 
19 struct stock
20 {
21  std::string code;
22  std::string name;
23  double open_price;
24  double high_price;
25  double low_price;
26  double last_price;
27  double buy_price;
29  double sell_price;
31 
32  template <typename Archive>
33  void serialize(Archive& ar, const unsigned int version)
34  {
35  ar & code;
36  ar & name;
37  ar & open_price;
38  ar & high_price;
39  ar & low_price;
40  ar & last_price;
41  ar & buy_price;
42  ar & buy_quantity;
43  ar & sell_price;
44  ar & sell_quantity;
45  }
46 };
47 
48 } // namespace s11n_example
49 
50 #endif // SERIALIZATION_STOCK_HPP
double sell_price
Definition: stock.hpp:29
double open_price
Definition: stock.hpp:23
double high_price
Definition: stock.hpp:24
double last_price
Definition: stock.hpp:26
double buy_price
Definition: stock.hpp:27
std::string name
Definition: stock.hpp:22
void serialize(Archive &ar, const unsigned int version)
Definition: stock.hpp:33
double low_price
Definition: stock.hpp:25
std::string code
Definition: stock.hpp:21
Structure to hold information about a single stock.
Definition: stock.hpp:19
pylon Camera Software Suite for Linux for Use with Basler Gigabit the pylon Viewer and the IP Configurator applications might not be available System I340 and I350 series Although the pylon software will work with any GigE network we would recommend to use one of these adapters USB For U3V devices a USB3 capable USB controller is necessary For best performance and stability we highly recommend a kernel version