Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DISTRIB Class Reference

#include <distrib.H>

Inheritance diagram for DISTRIB:

Inheritance graph
[legend]
Collaboration diagram for DISTRIB:

Collaboration graph
[legend]
List of all members.

Public Types

enum  STATE {
  START = 0, MIDDLE, END, PRIMARY,
  GRAB, DRAG, DROP, NET,
  EVERY
}
enum  save_status_t { SAVE_ERROR_NONE = 0, SAVE_ERROR_STREAM, SAVE_ERROR_WRITE, SAVE_ERROR_CWD }
enum  load_status_t {
  LOAD_ERROR_NONE = 0, LOAD_ERROR_STREAM, LOAD_ERROR_JOT, LOAD_ERROR_CWD,
  LOAD_ERROR_AUX, LOAD_ERROR_READ
}

Public Member Functions

 DISTRIB (FD_MANAGER *manager)
void set_cam_loaded ()
void set_processing_gate (bool pg)
virtual int interpret (NETenum, NetStream *)
virtual void add_client (NetStream *)
virtual void remove_stream (NetStream *)
int processing () const
virtual void notify_jot_var (DATA_ITEM *)
virtual void notify_xform (CGEOMptr &, STATE state)
virtual void notify_grab (CGELptr &, int flag)
virtual void notify (CGELptr &, int flag)
virtual void notify_exist (CGELptr &, int flag)
virtual void notify_color (CGEOMptr &, APPEAR *)
virtual void notify_transp (CGEOMptr &)
virtual void notify_geom (CGEOMptr &)
virtual void notify (CCAMdataptr &data)
virtual void notify_hash (CGELptr &, hashdist *)
virtual void notify_texture (CGEOMptr &)
virtual void notify_load (NetStream &s, LOADobs::load_status_t &status, bool from_file, bool full_scene)
virtual void notify_save (NetStream &s, SAVEobs::save_status_t &status, bool to_file, bool full_scene)
void connect_to (NetStream *s)
void start (int port=0)
void start (char *host, int port)
void flush_data ()
void subscribe (Cstr_ptr &tag)
NetStreamoperator[] (int i)
int num_streams (void) const
int port (void) const
Cstr_ptr & name (void) const
void barrier ()
void add_net_obs (Network_obs *o)
void rem_net_obs (Network_obs *o)
void notify_net (Network_obs::event e, NetStream *s)
virtual void reset ()
virtual void except ()
int fd ()
virtual void notify_xform (CGEOMptr &, STATE state)=0
void xform_obs (CGELptr &g)
void xform_obs ()
void every_xform_obs ()
void unobs_xform ()
void unobs_xform (CGEOMptr &g)
void unobs_every_xform ()
void grab_obs ()
void unobs_grab ()
void disp_obs (CGELptr &g)
void disp_obs ()
void unobs_display (CGELptr &g)
void unobs_display ()
void color_obs ()
void unobs_color ()
void exist_obs ()
void unobs_exist ()
void geom_obs ()
void unobs_geom ()
void transp_obs ()
void unobs_transp ()
virtual void notify_presave (NetStream &s, save_status_t &status, bool to_file, bool full_scene)
virtual void notify_postsave (NetStream &s, save_status_t &status, bool to_file, bool full_scene)
void presave_obs ()
void postsave_obs ()
void save_obs ()
void unobs_save ()
void unobs_presave ()
void unobs_postsave ()
virtual void notify_preload (NetStream &s, load_status_t &status, bool from_file, bool full_scene)
virtual void notify_postload (NetStream &s, load_status_t &status, bool from_file, bool full_scene)
void preload_obs ()
void postload_obs ()
void load_obs ()
void unobs_load ()
void unobs_preload ()
void unobs_postload ()
virtual void notify_manip_start (CCAMdataptr &data)
virtual void notify_manip_end (CCAMdataptr &data)
void hash_obs ()
void unobs_hash ()
void texture_obs ()
void unobs_texture ()
void jot_var_obs ()
void unobs_jot_var ()

Static Public Member Functions

static bool cam_loaded ()
static void set_distrib (DISTRIB *d)
static DISTRIBget_distrib ()
static void notify_xform_obs (CGEOMptr &, STATE start)
static void notify_xform_every_obs (CGEOMptr &)
static void notify_grab_obs (CGELptr &g, int flag)
static void notify_disp_obs (CGELptr &g, int disp)
static void suspend_disp_obs ()
static void activate_disp_obs ()
static void notify_color_obs (CGEOMptr &g, APPEAR *app=0)
static void notify_exist_obs (CGELptr &o, int f)
static void notify_geom_obs (CGEOMptr &l)
static void notify_transp_obs (CGEOMptr &g)
static void notify_save_obs (NetStream &s, save_status_t &status, bool to_file, bool full_scene)
static void notify_load_obs (NetStream &s, load_status_t &status, bool to_file, bool full_scene)
static void notify_hash_obs (CGELptr &o, hashdist *h)
static void notify_texture_obs (CGEOMptr &g)
static void notify_jot_var_obs (DATA_ITEM *item)

Protected Member Functions

bool should_save (CGEOMptr &g)
bool load (NetStream &)
bool save (NetStream &, bool to_file, bool full_scene)
LOADobs::load_status_t load_stream (NetStream &, bool from_file, bool full_scene)
SAVEobs::save_status_t save_stream (NetStream &, bool to_file, bool full_scene)
virtual void sample ()
virtual void Unregister (NetStream *s)
virtual void Register (NetStream *s)
virtual void Register ()
void _die (const char *msg)
char * configure (int port, int backlog=NETWORK_SERVER_BACKLOG)
void add_stream (NetStream *s)
virtual void accept_stream (void)
NetStreamwait_for_connect ()

Static Protected Member Functions

static XFORMobs_listxform_obs_list (CGELptr &g)
static DISPobs_listdisp_obs_list (CGELptr &g)
static EXISTobs_listexistobs_list ()
static SAVEobs_listsaveobs_list ()
static SAVEobs_listpresaveobs_list ()
static SAVEobs_listpostsaveobs_list ()
static LOADobs_listloadobs_list ()
static LOADobs_listpreloadobs_list ()
static LOADobs_listpostloadobs_list ()

Protected Attributes

bool _cam_loaded
bool _processing_gate
FD_MANAGER_manager
int nStreams_
NetStreamstreams_ [256]
str_list tags_
int port_
str_ptr name_
int first_
ARRAY< Network_obs * > _obs_list
int _at_barrier
int _fd

Static Protected Attributes

static DISTRIB_d = 0
static GELlist _created
static EXISTobs_list_exist_obs = 0
static SAVEobs_list_save_obs = 0
static SAVEobs_list_presave_obs = 0
static SAVEobs_list_postsave_obs = 0
static LOADobs_list_load_obs = 0
static LOADobs_list_preload_obs = 0
static LOADobs_list_postload_obs = 0

Detailed Description

Definition at line 29 of file distrib.H.


Member Enumeration Documentation

enum LOADobs::load_status_t [inherited]
 

Enumerator:
LOAD_ERROR_NONE 
LOAD_ERROR_STREAM 
LOAD_ERROR_JOT 
LOAD_ERROR_CWD 
LOAD_ERROR_AUX 
LOAD_ERROR_READ 

Definition at line 207 of file gel_obs.H.

enum SAVEobs::save_status_t [inherited]
 

Enumerator:
SAVE_ERROR_NONE 
SAVE_ERROR_STREAM 
SAVE_ERROR_WRITE 
SAVE_ERROR_CWD 

Definition at line 163 of file gel_obs.H.

enum XFORMobs::STATE [inherited]
 

Enumerator:
START 
MIDDLE 
END 
PRIMARY 
GRAB 
DRAG 
DROP 
NET 
EVERY 

Definition at line 20 of file geom_obs.H.


Constructor & Destructor Documentation

DISTRIB::DISTRIB FD_MANAGER manager  ) 
 

Definition at line 519 of file distrib.C.

References COLORobs::color_obs(), DISPobs::disp_obs(), EXISTobs::exist_obs(), GEOMobs::geom_obs(), Config::get_var_bool(), GRABobs::grab_obs(), HASHobs::hash_obs(), JOTvar_obs::jot_var_obs(), LOADobs::load_obs(), VIEW::peek(), SAVEobs::save_obs(), TEXTUREobs::texture_obs(), TRANSPobs::transp_obs(), and XFORMobs::xform_obs().


Member Function Documentation

void Network::_die const char *  msg  )  [protected, inherited]
 

Definition at line 1061 of file net.C.

References Network::name_.

Referenced by Network::start(), and Network::wait_for_connect().

void Network::accept_stream void   )  [protected, virtual, inherited]
 

Definition at line 1040 of file net.C.

References Network_obs::accept_str, Network::add_client(), Network::add_stream(), NetStream::name(), Network::notify_net(), and Network::wait_for_connect().

Referenced by Network::sample().

static void DISPobs::activate_disp_obs  )  [inline, static, inherited]
 

Definition at line 87 of file gel_obs.H.

References DISPobs::_suspend_disp.

void DISTRIB::add_client NetStream  )  [virtual]
 

Reimplemented from Network.

Definition at line 1013 of file distrib.C.

References save().

void Network::add_net_obs Network_obs o  )  [inline, inherited]
 

Definition at line 186 of file net.H.

References Network::_obs_list.

void Network::add_stream NetStream s  )  [inline, protected, inherited]
 

Definition at line 156 of file net.H.

References Network::nStreams_, Network::Register(), Network::streams_, NetStream::subscribe(), and Network::tags_.

Referenced by Network::accept_stream(), Network::connect_to(), and NetStream::interpret().

void Network::barrier  )  [inherited]
 

Definition at line 984 of file net.C.

References Network::_at_barrier, Network::_manager, FD_MANAGER::loop(), NETbarrier, NETflush, Network::nStreams_, and Network::streams_.

static bool DISTRIB::cam_loaded  )  [inline, static]
 

Definition at line 48 of file distrib.H.

References _cam_loaded, and _d.

void COLORobs::color_obs  )  [inline, inherited]
 

Definition at line 75 of file geom_obs.H.

References COLORobs::col_list().

Referenced by DISTRIB().

char * Network::configure int  port,
int  backlog = NETWORK_SERVER_BACKLOG
[protected, inherited]
 

Definition at line 1072 of file net.C.

References FD_EVENT::_fd, int(), Network::name_, net_exception_handler(), NetStream::no_linger(), Network::port_, and Network::Register().

Referenced by Network::start().

void Network::connect_to NetStream s  )  [inherited]
 

Definition at line 971 of file net.C.

References Network::add_stream(), FD_EVENT::fd(), Config::get_var_bool(), NETflush, NETidentify, and Network::port_.

Referenced by Network::start().

void DISPobs::disp_obs  )  [inline, inherited]
 

Definition at line 84 of file gel_obs.H.

References DISPobs::_all_disp.

Referenced by DISTRIB(), DrawWidget::DrawWidget(), VisRefImage::observe(), BufferRefImage::observe(), and VIEW::VIEW().

void DISPobs::disp_obs CGELptr g  )  [inline, inherited]
 

Definition at line 82 of file gel_obs.H.

References DISPobs::disp_obs_list().

static DISPobs_list& DISPobs::disp_obs_list CGELptr g  )  [inline, static, protected, inherited]
 

Definition at line 89 of file gel_obs.H.

References DISPobs::_hash_disp, HASH::add(), and HASH::find().

Referenced by DISPobs::disp_obs(), DISPobs::notify_disp_obs(), and DISPobs::unobs_display().

void XFORMobs::every_xform_obs  )  [inline, inherited]
 

Definition at line 38 of file geom_obs.H.

References XFORMobs::_every_xf.

virtual void FD_EVENT::except  )  [inline, virtual, inherited]
 

Definition at line 47 of file tty.H.

void EXISTobs::exist_obs  )  [inline, inherited]
 

Definition at line 58 of file gel_obs.H.

References EXISTobs::existobs_list().

Referenced by DISTRIB(), hashdist::hashdist(), and VisRefImage::observe().

static EXISTobs_list* EXISTobs::existobs_list  )  [inline, static, protected, inherited]
 

Definition at line 47 of file gel_obs.H.

References EXISTobs::_exist_obs.

Referenced by EXISTobs::exist_obs(), EXISTobs::notify_exist_obs(), and EXISTobs::unobs_exist().

int FD_EVENT::fd  )  [inline, inherited]
 

Definition at line 48 of file tty.H.

References FD_EVENT::_fd.

Referenced by Network::connect_to(), NetStream::interpret(), and WIN_MANAGER::tty_to_id::ready().

void Network::flush_data  )  [inherited]
 

Definition at line 1140 of file net.C.

References NetStream::flush_data(), Network::nStreams_, and Network::streams_.

void GEOMobs::geom_obs  )  [inline, inherited]
 

Definition at line 172 of file geom_obs.H.

References GEOMobs::_all_geom.

Referenced by DISTRIB().

static DISTRIB* DISTRIB::get_distrib  )  [inline, static]
 

Definition at line 50 of file distrib.H.

References _d.

Referenced by distrib(), distrib_client(), distrib_clip_info(), distrib_display_geom(), distrib_render_mode(), distrib_send_geom(), distrib_startnet(), and JOTgrab::get().

void GRABobs::grab_obs  )  [inline, inherited]
 

Definition at line 147 of file gel_obs.H.

References GRABobs::grabobs_list().

Referenced by DISTRIB().

void HASHobs::hash_obs  )  [inline, inherited]
 

Definition at line 23 of file hash_types.H.

References HASHobs::hash_list().

Referenced by DISTRIB().

int DISTRIB::interpret NETenum  ,
NetStream
[virtual]
 

Implements Network.

Definition at line 571 of file distrib.C.

References brcase, brdefault, DATA_ITEM::class_name(), DATA_ITEM::Decode(), STDdstream::eof(), err_adv(), err_msg(), Config::get_var_bool(), NETadd_connection, NETcontext, NETswap_ack, STDdstream::peekahead(), and NetStream::print_name().

Referenced by load().

void JOTvar_obs::jot_var_obs  )  [inline, inherited]
 

Definition at line 31 of file jot_vars.H.

References JOTvar_obs::jot_var_obs_list().

Referenced by DISTRIB().

bool DISTRIB::load NetStream  )  [protected]
 

Definition at line 635 of file distrib.C.

References NetStream::add_network(), DrawnList::buffer(), DRAWN, err_adv(), err_msg(), DrawnList::flush(), Config::get_var_bool(), interpret(), STDdstream::istr(), NETcontext, and NetStream::read_stuff().

Referenced by load_stream().

void LOADobs::load_obs  )  [inline, inherited]
 

Definition at line 234 of file gel_obs.H.

References LOADobs::loadobs_list().

Referenced by DISTRIB().

LOADobs::load_status_t DISTRIB::load_stream NetStream ,
bool  from_file,
bool  full_scene
[protected]
 

Definition at line 671 of file distrib.C.

References NetStream::attached(), debug, err_adv(), ERR_LEV_SPAM, err_mesg(), err_msg(), header, LOADER::load(), load(), LOADobs::LOAD_ERROR_AUX, LOADobs::LOAD_ERROR_JOT, LOADobs::LOAD_ERROR_NONE, LOADobs::LOAD_ERROR_READ, LOADobs::LOAD_ERROR_STREAM, and NetStream::name().

static LOADobs_list* LOADobs::loadobs_list  )  [inline, static, protected, inherited]
 

Definition at line 220 of file gel_obs.H.

References LOADobs::_load_obs.

Referenced by LOADobs::load_obs(), LOADobs::notify_load_obs(), and LOADobs::unobs_load().

Cstr_ptr& Network::name void   )  const [inline, inherited]
 

Definition at line 181 of file net.H.

References Network::name_.

Referenced by save().

void DISTRIB::notify CCAMdataptr &  data  )  [virtual]
 

Implements CAMobs.

Definition at line 1115 of file distrib.C.

References NETcontext, and processing().

void DISTRIB::notify CGELptr ,
int  flag
[virtual]
 

Implements DISPobs.

Definition at line 1184 of file distrib.C.

References hashvar< T >::get(), net_read_in_progress, NETcontext, NETWORK, ARRAY< T >::num(), processing(), and VIEWS.

void DISTRIB::notify_color CGEOMptr &  ,
APPEAR
[virtual]
 

Implements COLORobs.

Definition at line 1077 of file distrib.C.

References hashvar< T >::get(), NETcontext, NETWORK, and processing().

static void COLORobs::notify_color_obs CGEOMptr &  g,
APPEAR app = 0
[inline, static, inherited]
 

Definition at line 68 of file geom_obs.H.

References COLORobs::col_list().

Referenced by GEOM::set_color(), and GEOM::unset_color().

void DISPobs::notify_disp_obs CGELptr g,
int  disp
[static, inherited]
 

Definition at line 361 of file gel.C.

References DISPobs::_all_disp, DISPobs::_suspend_disp, CDISPobs_list, and DISPobs::disp_obs_list().

Referenced by DrawnList::add(), and DrawnList::rem().

void DISTRIB::notify_exist CGELptr ,
int  flag
[virtual]
 

Implements EXISTobs.

Definition at line 1051 of file distrib.C.

References DATA_ITEM::add_decoder(), hashvar< T >::get(), net_read_in_progress, NETcontext, NETWORK, NO_SAVE, and processing().

static void EXISTobs::notify_exist_obs CGELptr o,
int  f
[inline, static, inherited]
 

Definition at line 52 of file gel_obs.H.

References EXISTobs::_exist_obs, and EXISTobs::existobs_list().

void DISTRIB::notify_geom CGEOMptr &   )  [virtual]
 

Implements GEOMobs.

Definition at line 1102 of file distrib.C.

References hashvar< T >::get(), NETWORK, and processing().

static void GEOMobs::notify_geom_obs CGEOMptr &  l  )  [inline, static, inherited]
 

Definition at line 167 of file geom_obs.H.

References GEOMobs::_all_geom.

void DISTRIB::notify_grab CGELptr ,
int  flag
[virtual]
 

Implements GRABobs.

Definition at line 1210 of file distrib.C.

References JOTgrab::_save, hashvar< T >::get(), NETcontext, NETWORK, and processing().

static void GRABobs::notify_grab_obs CGELptr g,
int  flag
[inline, static, inherited]
 

Definition at line 141 of file gel_obs.H.

References GRABobs::_grab_obs, and GRABobs::grabobs_list().

Referenced by GrabVar::grab(), and GrabVar::release().

void DISTRIB::notify_hash CGELptr ,
hashdist
[virtual]
 

Implements HASHobs.

Definition at line 1140 of file distrib.C.

References hashvar< T >::get(), NETcontext, NETWORK, and processing().

static void HASHobs::notify_hash_obs CGELptr o,
hashdist h
[inline, static, inherited]
 

Definition at line 17 of file hash_types.H.

References HASHobs::_hash_obs_list.

Referenced by hashenum< GEOM::cons >::set(), hashptr< T >::set(), and hashvar< int >::set().

void DISTRIB::notify_jot_var DATA_ITEM  )  [virtual]
 

Implements JOTvar_obs.

Definition at line 1128 of file distrib.C.

References NETcontext, and processing().

static void JOTvar_obs::notify_jot_var_obs DATA_ITEM item  )  [inline, static, inherited]
 

Definition at line 24 of file jot_vars.H.

References JOTvar_obs::_jot_var_obs_list, and JOTvar_obs::notify_jot_var().

Referenced by JOTvar< OBJ, TYPE >::set().

virtual void DISTRIB::notify_load NetStream s,
LOADobs::load_status_t status,
bool  from_file,
bool  full_scene
[virtual]
 

Reimplemented from LOADobs.

void LOADobs::notify_load_obs NetStream s,
load_status_t status,
bool  to_file,
bool  full_scene
[static, inherited]
 

Definition at line 399 of file gel.C.

References distrib(), LOADobs::LOAD_ERROR_NONE, LOADobs::loadobs_list(), LOADobs::postloadobs_list(), and LOADobs::preloadobs_list().

Referenced by do_load(), Animator::format(), and BaseJOTapp::load_jot_file().

virtual void CAMobs::notify_manip_end CCAMdataptr &  data  )  [inline, virtual, inherited]
 

Definition at line 164 of file cam.H.

virtual void CAMobs::notify_manip_start CCAMdataptr &  data  )  [inline, virtual, inherited]
 

Definition at line 163 of file cam.H.

void Network::notify_net Network_obs::event  e,
NetStream s
[inline, inherited]
 

Definition at line 188 of file net.H.

References Network::_obs_list, and ARRAY< T >::num().

Referenced by Network::accept_stream(), and Network::remove_stream().

virtual void LOADobs::notify_postload NetStream s,
load_status_t status,
bool  from_file,
bool  full_scene
[inline, virtual, inherited]
 

Definition at line 226 of file gel_obs.H.

virtual void SAVEobs::notify_postsave NetStream s,
save_status_t status,
bool  to_file,
bool  full_scene
[inline, virtual, inherited]
 

Definition at line 181 of file gel_obs.H.

virtual void LOADobs::notify_preload NetStream s,
load_status_t status,
bool  from_file,
bool  full_scene
[inline, virtual, inherited]
 

Definition at line 225 of file gel_obs.H.

virtual void SAVEobs::notify_presave NetStream s,
save_status_t status,
bool  to_file,
bool  full_scene
[inline, virtual, inherited]
 

Definition at line 180 of file gel_obs.H.

virtual void DISTRIB::notify_save NetStream s,
SAVEobs::save_status_t status,
bool  to_file,
bool  full_scene
[virtual]
 

Reimplemented from SAVEobs.

void SAVEobs::notify_save_obs NetStream s,
save_status_t status,
bool  to_file,
bool  full_scene
[static, inherited]
 

Definition at line 381 of file gel.C.

References distrib(), SAVEobs::postsaveobs_list(), SAVEobs::presaveobs_list(), SAVEobs::SAVE_ERROR_NONE, and SAVEobs::saveobs_list().

Referenced by do_save(), and Animator::format().

void DISTRIB::notify_texture CGEOMptr &   )  [virtual]
 

Implements TEXTUREobs.

Definition at line 1153 of file distrib.C.

References hashvar< T >::get(), NETcontext, NETWORK, and processing().

static void TEXTUREobs::notify_texture_obs CGEOMptr &  g  )  [inline, static, inherited]
 

Definition at line 121 of file geom_obs.H.

References TEXTUREobs::texobs_list().

Referenced by JOTtexture::get(), GEOM::set_texture(), and GEOM::unset_texture().

void DISTRIB::notify_transp CGEOMptr &   )  [virtual]
 

Implements TRANSPobs.

Definition at line 1090 of file distrib.C.

References hashvar< T >::get(), NETcontext, NETWORK, and processing().

static void TRANSPobs::notify_transp_obs CGEOMptr &  g  )  [inline, static, inherited]
 

Definition at line 95 of file geom_obs.H.

References TRANSPobs::_all_transp.

virtual void XFORMobs::notify_xform CGEOMptr &  ,
STATE  state
[pure virtual, inherited]
 

Referenced by XFORMobs::notify_xform_obs().

void DISTRIB::notify_xform CGEOMptr &  ,
STATE  state
[virtual]
 

Definition at line 1165 of file distrib.C.

References XFORMobs::DROP, XFORMobs::END, hashvar< T >::get(), NETcontext, NETWORK, XFORMobs::PRIMARY, processing(), and XFORMobs::START.

void XFORMobs::notify_xform_every_obs CGEOMptr &   )  [static, inherited]
 

Definition at line 499 of file geom.C.

References XFORMobs::_every_xf, and XFORMobs::EVERY.

void XFORMobs::notify_xform_obs CGEOMptr &  ,
STATE  start
[static, inherited]
 

Definition at line 480 of file geom.C.

References XFORMobs::_all_xf, XFORMobs::notify_xform(), and XFORMobs::xform_obs_list().

Referenced by FilmTrans::down(), JOTxform::get(), FilmTrans::move(), and FilmTrans::up().

int Network::num_streams void   )  const [inline, inherited]
 

Definition at line 179 of file net.H.

References Network::nStreams_.

Referenced by distrib_client(), and operator<<().

NetStream* Network::operator[] int  i  )  [inline, inherited]
 

Definition at line 178 of file net.H.

References Network::streams_.

int Network::port void   )  const [inline, inherited]
 

Definition at line 180 of file net.H.

References Network::port_.

void LOADobs::postload_obs  )  [inline, inherited]
 

Definition at line 233 of file gel_obs.H.

References LOADobs::postloadobs_list().

Referenced by IOManager::IOManager().

static LOADobs_list* LOADobs::postloadobs_list  )  [inline, static, protected, inherited]
 

Definition at line 222 of file gel_obs.H.

References LOADobs::_postload_obs.

Referenced by LOADobs::notify_load_obs(), LOADobs::postload_obs(), and LOADobs::unobs_postload().

void SAVEobs::postsave_obs  )  [inline, inherited]
 

Definition at line 188 of file gel_obs.H.

References SAVEobs::postsaveobs_list().

Referenced by IOManager::IOManager().

static SAVEobs_list* SAVEobs::postsaveobs_list  )  [inline, static, protected, inherited]
 

Definition at line 177 of file gel_obs.H.

References SAVEobs::_postsave_obs.

Referenced by SAVEobs::notify_save_obs(), SAVEobs::postsave_obs(), and SAVEobs::unobs_postsave().

void LOADobs::preload_obs  )  [inline, inherited]
 

Definition at line 232 of file gel_obs.H.

References LOADobs::preloadobs_list().

Referenced by IOManager::IOManager().

static LOADobs_list* LOADobs::preloadobs_list  )  [inline, static, protected, inherited]
 

Definition at line 221 of file gel_obs.H.

References LOADobs::_preload_obs.

Referenced by LOADobs::notify_load_obs(), LOADobs::preload_obs(), and LOADobs::unobs_preload().

void SAVEobs::presave_obs  )  [inline, inherited]
 

Definition at line 187 of file gel_obs.H.

References SAVEobs::presaveobs_list().

Referenced by IOManager::IOManager().

static SAVEobs_list* SAVEobs::presaveobs_list  )  [inline, static, protected, inherited]
 

Definition at line 176 of file gel_obs.H.

References SAVEobs::_presave_obs.

Referenced by SAVEobs::notify_save_obs(), SAVEobs::presave_obs(), and SAVEobs::unobs_presave().

int DISTRIB::processing void   )  const [inline]
 

Reimplemented from Network.

Definition at line 76 of file distrib.H.

References _processing_gate, and Network::processing().

Referenced by notify(), notify_color(), notify_exist(), notify_geom(), notify_grab(), notify_hash(), notify_jot_var(), notify_texture(), notify_transp(), and notify_xform().

virtual void Network::Register  )  [inline, protected, virtual, inherited]
 

Definition at line 149 of file net.H.

References Network::_manager, and FD_MANAGER::add().

Referenced by Network::add_stream(), and Network::configure().

virtual void Network::Register NetStream s  )  [inline, protected, virtual, inherited]
 

Definition at line 147 of file net.H.

References Network::_manager, FD_MANAGER::add(), and NetStream::add_network().

void Network::rem_net_obs Network_obs o  )  [inline, inherited]
 

Definition at line 187 of file net.H.

References Network::_obs_list.

void DISTRIB::remove_stream NetStream  )  [virtual]
 

Reimplemented from Network.

Definition at line 1027 of file distrib.C.

References Network::remove_stream().

virtual void FD_EVENT::reset  )  [inline, virtual, inherited]
 

Reimplemented in TabletMultimode.

Definition at line 46 of file tty.H.

virtual void Network::sample  )  [inline, protected, virtual, inherited]
 

Implements FD_EVENT.

Definition at line 145 of file net.H.

References Network::accept_stream().

bool DISTRIB::save NetStream ,
bool  to_file,
bool  full_scene
[protected]
 

Definition at line 900 of file distrib.C.

References BAD_IND, STDdstream::block(), ARRAY< T >::contains(), DRAWN, ERR_LEV_SPAM, err_mesg(), err_msg(), EXIST, STDdstream::fail(), hashvar< T >::get(), ARRAY< T >::get_index(), IOManager::instance(), Network::name(), NETcontext, NETWORK, NO_SAVE, ARRAY< T >::num(), VIEW::peek(), should_save(), and STD_FALSE.

Referenced by add_client(), and save_stream().

void SAVEobs::save_obs  )  [inline, inherited]
 

Definition at line 189 of file gel_obs.H.

References SAVEobs::saveobs_list().

Referenced by DISTRIB().

SAVEobs::save_status_t DISTRIB::save_stream NetStream ,
bool  to_file,
bool  full_scene
[protected]
 

Definition at line 836 of file distrib.C.

References NetStream::attached(), debug, err_adv(), err_msg(), save(), SAVEobs::SAVE_ERROR_NONE, SAVEobs::SAVE_ERROR_STREAM, and SAVEobs::SAVE_ERROR_WRITE.

static SAVEobs_list* SAVEobs::saveobs_list  )  [inline, static, protected, inherited]
 

Definition at line 175 of file gel_obs.H.

References SAVEobs::_save_obs.

Referenced by SAVEobs::notify_save_obs(), SAVEobs::save_obs(), and SAVEobs::unobs_save().

void DISTRIB::set_cam_loaded  )  [inline]
 

Definition at line 58 of file distrib.H.

References _cam_loaded.

Referenced by JOTcam::get().

static void DISTRIB::set_distrib DISTRIB d  )  [inline, static]
 

Definition at line 49 of file distrib.H.

References _d.

Referenced by distrib().

void DISTRIB::set_processing_gate bool  pg  )  [inline]
 

Definition at line 59 of file distrib.H.

References _processing_gate.

Referenced by JOTgrab::get().

bool DISTRIB::should_save CGEOMptr &  g  )  [protected]
 

Definition at line 1042 of file distrib.C.

Referenced by save().

void Network::start char *  host,
int  port
[inline, inherited]
 

Definition at line 171 of file net.H.

References Network::connect_to(), Network::NetStream, and Network::start().

void Network::start int  port = 0  )  [inherited]
 

Definition at line 1124 of file net.C.

References Network::_die(), Network::configure(), and Network::first_.

Referenced by distrib_client(), distrib_startnet(), and Network::start().

void Network::subscribe Cstr_ptr &  tag  )  [inline, inherited]
 

Definition at line 175 of file net.H.

References Network::nStreams_, Network::streams_, NetStream::subscribe(), and Network::tags_.

static void DISPobs::suspend_disp_obs  )  [inline, static, inherited]
 

Definition at line 86 of file gel_obs.H.

References DISPobs::_suspend_disp.

void TEXTUREobs::texture_obs  )  [inline, inherited]
 

Definition at line 126 of file geom_obs.H.

References TEXTUREobs::texobs_list().

Referenced by DISTRIB().

void TRANSPobs::transp_obs  )  [inline, inherited]
 

Definition at line 100 of file geom_obs.H.

References TRANSPobs::_all_transp.

Referenced by DISTRIB().

void COLORobs::unobs_color  )  [inline, inherited]
 

Definition at line 76 of file geom_obs.H.

References COLORobs::col_list().

void DISPobs::unobs_display  )  [inline, inherited]
 

Definition at line 85 of file gel_obs.H.

References DISPobs::_all_disp.

Referenced by VisRefImage::unobserve(), BufferRefImage::unobserve(), and DrawWidget::~DrawWidget().

void DISPobs::unobs_display CGELptr g  )  [inline, inherited]
 

Definition at line 83 of file gel_obs.H.

References DISPobs::disp_obs_list().

void XFORMobs::unobs_every_xform  )  [inline, inherited]
 

Definition at line 40 of file geom_obs.H.

References XFORMobs::_every_xf.

void EXISTobs::unobs_exist  )  [inline, inherited]
 

Definition at line 59 of file gel_obs.H.

References EXISTobs::existobs_list().

Referenced by VisRefImage::unobserve().

void GEOMobs::unobs_geom  )  [inline, inherited]
 

Definition at line 173 of file geom_obs.H.

References GEOMobs::_all_geom.

void GRABobs::unobs_grab  )  [inline, inherited]
 

Definition at line 148 of file gel_obs.H.

References GRABobs::grabobs_list().

void HASHobs::unobs_hash  )  [inline, inherited]
 

Definition at line 24 of file hash_types.H.

References HASHobs::hash_list().

void JOTvar_obs::unobs_jot_var  )  [inline, inherited]
 

Definition at line 32 of file jot_vars.H.

References JOTvar_obs::jot_var_obs_list().

void LOADobs::unobs_load  )  [inline, inherited]
 

Definition at line 235 of file gel_obs.H.

References LOADobs::loadobs_list().

void LOADobs::unobs_postload  )  [inline, inherited]
 

Definition at line 237 of file gel_obs.H.

References LOADobs::postloadobs_list().

void SAVEobs::unobs_postsave  )  [inline, inherited]
 

Definition at line 192 of file gel_obs.H.

References SAVEobs::postsaveobs_list().

void LOADobs::unobs_preload  )  [inline, inherited]
 

Definition at line 236 of file gel_obs.H.

References LOADobs::preloadobs_list().

void SAVEobs::unobs_presave  )  [inline, inherited]
 

Definition at line 191 of file gel_obs.H.

References SAVEobs::presaveobs_list().

void SAVEobs::unobs_save  )  [inline, inherited]
 

Definition at line 190 of file gel_obs.H.

References SAVEobs::saveobs_list().

void TEXTUREobs::unobs_texture  )  [inline, inherited]
 

Definition at line 127 of file geom_obs.H.

References TEXTUREobs::texobs_list().

void TRANSPobs::unobs_transp  )  [inline, inherited]
 

Definition at line 101 of file geom_obs.H.

References TRANSPobs::_all_transp.

void XFORMobs::unobs_xform CGEOMptr &  g  )  [inline, inherited]
 

Definition at line 41 of file geom_obs.H.

References XFORMobs::xform_obs_list().

void XFORMobs::unobs_xform  )  [inline, inherited]
 

Definition at line 39 of file geom_obs.H.

References XFORMobs::_all_xf.

Referenced by VisRefImage::unobserve(), and BufferRefImage::unobserve().

virtual void Network::Unregister NetStream s  )  [inline, protected, virtual, inherited]
 

Definition at line 146 of file net.H.

References Network::_manager, and FD_MANAGER::rem().

Referenced by Network::remove_stream().

NetStream * Network::wait_for_connect  )  [protected, inherited]
 

Definition at line 1004 of file net.C.

References Network::_die(), FD_EVENT::_fd, and Network::NetStream.

Referenced by Network::accept_stream().

void XFORMobs::xform_obs  )  [inline, inherited]
 

Definition at line 37 of file geom_obs.H.

References XFORMobs::_all_xf.

Referenced by DISTRIB(), VisRefImage::observe(), and BufferRefImage::observe().

void XFORMobs::xform_obs CGELptr g  )  [inline, inherited]
 

Definition at line 36 of file geom_obs.H.

References XFORMobs::xform_obs_list().

static XFORMobs_list& XFORMobs::xform_obs_list CGELptr g  )  [inline, static, protected, inherited]
 

Definition at line 43 of file geom_obs.H.

References XFORMobs::_hash_xf, HASH::add(), and HASH::find().

Referenced by XFORMobs::notify_xform_obs(), XFORMobs::unobs_xform(), and XFORMobs::xform_obs().


Member Data Documentation

int Network::_at_barrier [protected, inherited]
 

Definition at line 162 of file net.H.

Referenced by Network::barrier(), and NetStream::interpret().

bool DISTRIB::_cam_loaded [protected]
 

Definition at line 43 of file distrib.H.

Referenced by cam_loaded(), and set_cam_loaded().

GELlist EXISTobs::_created [static, protected, inherited]
 

Definition at line 44 of file gel_obs.H.

DISTRIB * DISTRIB::_d = 0 [static, protected]
 

Definition at line 39 of file distrib.H.

Referenced by cam_loaded(), get_distrib(), and set_distrib().

EXISTobs_list * EXISTobs::_exist_obs = 0 [static, protected, inherited]
 

Definition at line 46 of file gel_obs.H.

Referenced by EXISTobs::existobs_list(), and EXISTobs::notify_exist_obs().

int FD_EVENT::_fd [protected, inherited]
 

Definition at line 41 of file tty.H.

Referenced by NetStream::_die(), NetStream::attached(), TTYfd::clear(), TTYfd::close(), Network::configure(), TTYfd::deactivate(), TTYfd::drain(), FD_EVENT::fd(), TTYfd::get_flags(), NetStream::NetStream(), NetStream::no_tcp_delay(), TTYfd::nread(), TTYfd::open(), TTYfd::read_all(), NetStream::read_from_net(), TTYfd::send_break(), NetStream::set_blocking(), TTYfd::set_flags(), TTYfd::setup(), Network::wait_for_connect(), TTYfd::write(), NetStream::write_to_net(), and NetStream::~NetStream().

LOADobs_list * LOADobs::_load_obs = 0 [static, protected, inherited]
 

Definition at line 216 of file gel_obs.H.

Referenced by LOADobs::loadobs_list().

FD_MANAGER* Network::_manager [protected, inherited]
 

Definition at line 137 of file net.H.

Referenced by Network::barrier(), Network::Register(), and Network::Unregister().

ARRAY<Network_obs *> Network::_obs_list [protected, inherited]
 

Definition at line 161 of file net.H.

Referenced by Network::add_net_obs(), Network::notify_net(), and Network::rem_net_obs().

LOADobs_list * LOADobs::_postload_obs = 0 [static, protected, inherited]
 

Definition at line 218 of file gel_obs.H.

Referenced by LOADobs::postloadobs_list().

SAVEobs_list * SAVEobs::_postsave_obs = 0 [static, protected, inherited]
 

Definition at line 173 of file gel_obs.H.

Referenced by SAVEobs::postsaveobs_list().

LOADobs_list * LOADobs::_preload_obs = 0 [static, protected, inherited]
 

Definition at line 217 of file gel_obs.H.

Referenced by LOADobs::preloadobs_list().

SAVEobs_list * SAVEobs::_presave_obs = 0 [static, protected, inherited]
 

Definition at line 172 of file gel_obs.H.

Referenced by SAVEobs::presaveobs_list().

bool DISTRIB::_processing_gate [protected]
 

Definition at line 44 of file distrib.H.

Referenced by processing(), and set_processing_gate().

SAVEobs_list * SAVEobs::_save_obs = 0 [static, protected, inherited]
 

Definition at line 171 of file gel_obs.H.

Referenced by SAVEobs::saveobs_list().

int Network::first_ [protected, inherited]
 

Definition at line 143 of file net.H.

Referenced by NetStream::interpret(), and Network::start().

str_ptr Network::name_ [protected, inherited]
 

Definition at line 142 of file net.H.

Referenced by Network::_die(), Network::configure(), and Network::name().

int Network::nStreams_ [protected, inherited]
 

Definition at line 138 of file net.H.

Referenced by Network::add_stream(), Network::barrier(), Network::flush_data(), Network::num_streams(), Network::processing(), Network::remove_stream(), and Network::subscribe().

int Network::port_ [protected, inherited]
 

Definition at line 141 of file net.H.

Referenced by Network::configure(), Network::connect_to(), and Network::port().

NetStream* Network::streams_[256] [protected, inherited]
 

Definition at line 139 of file net.H.

Referenced by Network::add_stream(), Network::barrier(), Network::flush_data(), NetStream::interpret(), Network::operator[](), Network::processing(), Network::remove_stream(), and Network::subscribe().

str_list Network::tags_ [protected, inherited]
 

Definition at line 140 of file net.H.

Referenced by Network::add_stream(), and Network::subscribe().


The documentation for this class was generated from the following files:
Generated on Mon Sep 18 11:45:08 2006 for jot by  doxygen 1.4.4