Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

proto_node::proto_exposedfield< FieldValue > Class Template Reference

Inheritance diagram for proto_node::proto_exposedfield< FieldValue >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename FieldValue>
class proto_node::proto_exposedfield< FieldValue >

PROTO exposedField handler class template.

For internal use only.


Public Member Functions

 proto_exposedfield (proto_node &node, const FieldValue &initial_value)
 Construct.
virtual ~proto_exposedfield () throw ()
 Destroy.

Private Member Functions

virtual void do_process_event (const FieldValue &value, double timestamp) throw (std::bad_alloc)
 Process an event.

Constructor & Destructor Documentation

template<typename FieldValue>
proto_node::proto_exposedfield< FieldValue >::proto_exposedfield proto_node &  node,
const FieldValue &  initial_value
 

Construct.

Parameters:
node proto_node.
initial_value initial value.

template<typename FieldValue>
proto_node::proto_exposedfield< FieldValue >::~proto_exposedfield  )  throw () [virtual]
 

Destroy.


Member Function Documentation

template<typename FieldValue>
void proto_node::proto_exposedfield< FieldValue >::do_process_event const FieldValue &  value,
double  timestamp
throw (std::bad_alloc) [private, virtual]
 

Process an event.

Parameters:
value event value.
timestamp the current time.
Exceptions:
std::bad_alloc if memory allocation fails.

Reimplemented from proto_node::proto_eventin< FieldValue >.