producer.cpp File Reference

#include <string>
#include <iostream>
#include <sstream>
#include "shm_segment.h"
#include "shm_mmap.h"
#include "shm_ptr.h"
#include "scoped_lock.h"
#include "shm_allocator.h"
#include "shm_message.h"
#include "shm_queue.h"

Include dependency graph for producer.cpp:

Go to the source code of this file.


void reportInitialization (shm_segment *seg_addr, shm_queue< shm_message > *q_addr)
int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 

Definition at line 19 of file producer.cpp.

References shm_allocator::alloc(), shm_ptr< T >::get(), shm_message::message, shm_queue< T >::push(), reportInitialization(), shm_ptr< T >::reset(), shm_message::sequence_num, and shm_queue< T >::size().

Here is the call graph for this function:

void reportInitialization ( shm_segment seg_addr,
shm_queue< shm_message > *  q_addr 

/cvsroot/shmq/Library/src/producer.cpp,v 2006/08/30 12:14:46 oommoo Exp

Definition at line 51 of file producer.cpp.

References shm_segment::get_id().

Referenced by main().

Here is the call graph for this function:

Project shmq hosted by
Documentation generated on Sat Sep 2 10:07:40 2006 for shmq by 1.4.6