ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
receptor_spec.h File Reference
#include "../src/ceptr.h"
#include "../src/receptor.h"
#include "../src/def.h"
#include "../src/accumulator.h"
#include "../src/vmhost.h"
#include "../src/protocol.h"
#include "http_example.h"
#include <unistd.h>
#include "spec_utils.h"
Include dependency graph for receptor_spec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void testReceptorCreate ()
 
void testReceptorAddRemoveExpectation ()
 
void testReceptorSignal ()
 
void testReceptorSignalDeliver ()
 
void testReceptorDeliverConversation ()
 
void testReceptorConversations ()
 
void testReceptorResponseDeliver ()
 
void testReceptorEndCondition ()
 
void testReceptorExpectation ()
 
void testReceptorDef ()
 
void defineHouseLocation (Receptor *r, Symbol *lat, Symbol *lon, Structure *latlong, Symbol *house_loc)
 [defineHouseLocation] More...
 
void testReceptorDefMatch ()
 [defineHouseLocation] More...
 
void testReceptorInstances ()
 
void testReceptorSerialize ()
 
void defineNums (Receptor *r)
 
void makeInt (T *t, int v)
 
void testReceptorNums ()
 
void testReceptorEdgeStream ()
 
void * _ltester (void *arg)
 
void testReceptorEdgeListener ()
 
void testReceptorClock ()
 
void testReceptor ()
 

Variables

int G_next_process_id
 
Symbol mantissa
 
Symbol exponent
 
Symbol exps [16]
 
Structure flt
 
Structure integer
 
Symbol latitude
 
Symbol longitude
 
Structure lat_long
 
Symbol home_location
 

Detailed Description

Definition in file receptor_spec.h.

Function Documentation

void defineHouseLocation ( Receptor r,
Symbol lat,
Symbol lon,
Structure latlong,
Symbol house_loc 
)

[defineHouseLocation]

define a "house location" symbol built out of a latlong

void defineHouseLocation(Receptor *r,Symbol *lat,Symbol *lon, Structure *latlong, Symbol *house_loc) {
*lat = _r_define_symbol(r,FLOAT,"latitude");
*lon = _r_define_symbol(r,FLOAT,"longitude");
*latlong = _r_define_structure(r,"latlong",2,*lat,*lon);
*house_loc = _r_define_symbol(r,*latlong,"house location");
}

Definition at line 408 of file receptor_spec.h.

void testReceptorCreate ( )

[testReceptorCreate]

[testReceptorCreate]

Definition at line 17 of file receptor_spec.h.

void testReceptorDefMatch ( )

[defineHouseLocation]

[testReceptorDefMatch]

[testReceptorDefMatch]

Definition at line 416 of file receptor_spec.h.

void testReceptorExpectation ( )

[testReceptorExpectation]

[testReceptorExpectation]

Definition at line 268 of file receptor_spec.h.

void testReceptorInstances ( )

[testReceptorInstances]

[testReceptorInstances]

Definition at line 452 of file receptor_spec.h.

void testReceptorSerialize ( )

[testReceptorSerialize]

[testReceptorSerialize]

Definition at line 483 of file receptor_spec.h.