/home/serif/byzantine_generals/src/order.h File Reference

Contains the class definition for Order. More...

#include <boost/shared_ptr.hpp>
#include "sharedmemtypes.h"
Include dependency graph for order.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Order
 This represents the basic message that is passed around amongst the generals during operation. Each receiving general (regardless of loyalty) is obligated to append their Unique ID to the enclosed communication_path. A Loyal General will never modify the enclosed marching_orders, while Disloyal Generals may to cause as much confusion as possible. More...

Namespaces

namespace  MarchingOrders
 

The types of Marching Orders that may be passed amongst the Generals. We wrap in a namespace here to avoid polluting the global namespace and to help avoid name collisions.


Typedefs

typedef boost::shared_ptr< OrderLocalOrder
 Type for a Shared pointer which wraps an Order.

Enumerations

enum  MarchingOrders::type { MarchingOrders::kInvalid = 0, MarchingOrders::kAttack, MarchingOrders::kRetreat }
 

See MarchingOrders.

More...

Detailed Description

Contains the class definition for Order.

Author:
Reshen Amin <reshen@zensrc.com>
License:
Byzantine Generals Problem Coding Sample.
Copyright (C) 2010 Reshen Amin.
See License for details.

Definition in file order.h.


Typedef Documentation

typedef boost::shared_ptr<Order> LocalOrder

Type for a Shared pointer which wraps an Order.

Definition at line 117 of file order.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Generated on Mon May 31 15:35:43 2010 for Byzantine Generals Coding Sample by  doxygen 1.6.3